﻿<!--
// (c) Copyright Microsoft Corporation.
// This source is subject to Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved.
-->
    
<ResourceDictionary
  x:Uid="ResourceDictionary_1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  mc:Ignorable="d"
  xmlns:d="http://schemas.microsoft.com/expression/blend/2008">

    <!-- Color Resources -->

    <Color x:Uid="Color_1" x:Key="BlackColor">#FF000000</Color>
    <Color x:Uid="Color_2" x:Key="WhiteColor">#FFFFFFFF</Color>

    <SolidColorBrush x:Uid="SolidColorBrush_1" x:Key="TextBrush" Color="#FFFFFFFF"/>

    <Color x:Uid="Color_3" x:Key="NormalBrushGradient1">#FFF1BCBE</Color>
    <Color x:Uid="Color_4" x:Key="NormalBrushGradient2">#FFCE6865</Color>
    <Color x:Uid="Color_5" x:Key="NormalBrushGradient3">#FFAF231E</Color>
    <Color x:Uid="Color_6" x:Key="NormalBrushGradient4">#FF601818</Color>

    <Color x:Uid="Color_7" x:Key="NormalBorderBrushGradient1">#FFBBBBBB</Color>
    <Color x:Uid="Color_8" x:Key="NormalBorderBrushGradient2">#FF737373</Color>
    <Color x:Uid="Color_9" x:Key="NormalBorderBrushGradient3">#FF646464</Color>
    <Color x:Uid="Color_10" x:Key="NormalBorderBrushGradient4">#FF000000</Color>

    <Color x:Uid="Color_11" x:Key="SelectedBackgroundGradient1">#FFBBBBBB</Color>
    <Color x:Uid="Color_12" x:Key="SelectedBackgroundGradient2">#FF737373</Color>
    <Color x:Uid="Color_13" x:Key="SelectedBackgroundGradient3">#FF646464</Color>
    <Color x:Uid="Color_14" x:Key="SelectedBackgroundGradient4">#FFA1A1A1</Color>

    <Color x:Uid="Color_15" x:Key="SliderBorderGradient1">#FF3F3F3F</Color>
    <Color x:Uid="Color_16" x:Key="SliderBorderGradient2">#FFADADAD</Color>

    <Color x:Uid="Color_17" x:Key="ShadeBrushGradient1">#FF62676A</Color>
    <Color x:Uid="Color_18" x:Key="ShadeBrushGradient2">#FFD1D4D6</Color>
    <Color x:Uid="Color_19" x:Key="ShadeBrushGradient3">#FFFFFFFF</Color>

    <Color x:Uid="Color_20" x:Key="WindowBackgroundBrushGradient1">#FFD1D1D1</Color>
    <Color x:Uid="Color_21" x:Key="WindowBackgroundBrushGradient2">#FF8496AA</Color>


    <LinearGradientBrush x:Uid="LinearGradientBrush_1" x:Key="NormalBrush"
                       EndPoint="0.5,1"
                       StartPoint="0.5,0">
        <GradientStop x:Uid="GradientStop_1" Color="{StaticResource NormalBrushGradient1}"
                  Offset="0" />
        <GradientStop x:Uid="GradientStop_2" Color="{StaticResource NormalBrushGradient2}"
                  Offset="0.41800001263618469" />
        <GradientStop x:Uid="GradientStop_3" Color="{StaticResource NormalBrushGradient3}"
                  Offset="0.418" />
        <GradientStop x:Uid="GradientStop_4" Color="{StaticResource NormalBrushGradient4}"
                  Offset="1" />
    </LinearGradientBrush>

    <LinearGradientBrush x:Uid="LinearGradientBrush_2" x:Key="NormalBorderBrush"
                       EndPoint="0.5,1"
                       StartPoint="0.5,0">
        <GradientStop x:Uid="GradientStop_5" Color="{StaticResource NormalBorderBrushGradient1}" />
        <GradientStop x:Uid="GradientStop_6" Color="{StaticResource NormalBorderBrushGradient2}"
                  Offset="0.38" />
        <GradientStop x:Uid="GradientStop_7" Color="{StaticResource NormalBorderBrushGradient3}"
                  Offset="0.384" />
        <GradientStop x:Uid="GradientStop_8" Color="{StaticResource NormalBorderBrushGradient4}"
                  Offset="1" />
    </LinearGradientBrush>

    <RadialGradientBrush x:Uid="RadialGradientBrush_1" x:Key="HoverBrush">
        <RadialGradientBrush.RelativeTransform>
            <TransformGroup x:Uid="TransformGroup_1">
                <ScaleTransform x:Uid="ScaleTransform_1" CenterX="0.5"
                        CenterY="0.5"
                        ScaleX="1.804"
                        ScaleY="0.743" />
                <SkewTransform x:Uid="SkewTransform_1" CenterX="0.5"
                       CenterY="0.5" />
                <RotateTransform x:Uid="RotateTransform_1" CenterX="0.5"
                         CenterY="0.5" />
                <TranslateTransform x:Uid="TranslateTransform_1" Y="0.47999998927116394" />
            </TransformGroup>
        </RadialGradientBrush.RelativeTransform>
        <GradientStop x:Uid="GradientStop_9" Color="#FFFFC398"
                  Offset="0.209" />
        <GradientStop x:Uid="GradientStop_10" Color="#00FFB598"
                  Offset="1" />
        <GradientStop x:Uid="GradientStop_11" Color="#FFFFFFFF"
                  Offset="0" />
    </RadialGradientBrush>

    <LinearGradientBrush x:Uid="LinearGradientBrush_3" x:Key="CheckIconBrush"
                       EndPoint="0.5,1"
                       StartPoint="0.5,0">
        <GradientStop x:Uid="GradientStop_12" Color="#FF006CD1" />
        <GradientStop x:Uid="GradientStop_13" Color="#FFA5D6F9"
                  Offset="1" />
    </LinearGradientBrush>

    <LinearGradientBrush x:Uid="LinearGradientBrush_4" x:Key="ShadeBrush"
                       EndPoint="0.5,1"
                       StartPoint="0.5,0">
        <GradientStop x:Uid="GradientStop_14" Color="{StaticResource ShadeBrushGradient2}"
                  Offset="0" />
        <GradientStop x:Uid="GradientStop_15" Color="{StaticResource ShadeBrushGradient3}"
                  Offset="0.1" />
        <GradientStop x:Uid="GradientStop_16" Color="{StaticResource ShadeBrushGradient3}"
                  Offset="1" />
    </LinearGradientBrush>

    <LinearGradientBrush x:Uid="LinearGradientBrush_5" x:Key="ShadeBrushTop"
                       EndPoint="0.5,1"
                       StartPoint="0.5,0">
        <GradientStop x:Uid="GradientStop_17" Color="{StaticResource ShadeBrushGradient2}"
                  Offset="0" />
        <GradientStop x:Uid="GradientStop_18" Color="{StaticResource ShadeBrushGradient3}"
                  Offset="0.1" />
        <GradientStop x:Uid="GradientStop_19" Color="{StaticResource ShadeBrushGradient3}"
                  Offset="1" />
    </LinearGradientBrush>

    <LinearGradientBrush x:Uid="LinearGradientBrush_6" x:Key="ShadeBrushBottom"
                       EndPoint="0.5,0"
                       StartPoint="0.5,1">
        <GradientStop x:Uid="GradientStop_20" Color="{StaticResource ShadeBrushGradient2}" />
        <GradientStop x:Uid="GradientStop_21" Color="{StaticResource ShadeBrushGradient3}"
                  Offset="0.1" />
        <GradientStop x:Uid="GradientStop_22" Color="{StaticResource ShadeBrushGradient3}"
                  Offset="1" />
    </LinearGradientBrush>

    <LinearGradientBrush x:Uid="LinearGradientBrush_7" x:Key="ShadeBrushLeft"
                       EndPoint="1,0.5"
                       StartPoint="0,0.5">
        <GradientStop x:Uid="GradientStop_23" Color="{StaticResource ShadeBrushGradient2}" />
        <GradientStop x:Uid="GradientStop_24" Color="{StaticResource ShadeBrushGradient3}"
                  Offset="0.1" />
        <GradientStop x:Uid="GradientStop_25" Color="{StaticResource ShadeBrushGradient3}"
                  Offset="1" />
    </LinearGradientBrush>

    <LinearGradientBrush x:Uid="LinearGradientBrush_8" x:Key="ShadeBrushRight"
                       EndPoint="0,0.5"
                       StartPoint="1,0.5">
        <GradientStop x:Uid="GradientStop_26" Color="{StaticResource ShadeBrushGradient2}" />
        <GradientStop x:Uid="GradientStop_27" Color="{StaticResource ShadeBrushGradient3}"
                  Offset="0.1" />
        <GradientStop x:Uid="GradientStop_28" Color="{StaticResource ShadeBrushGradient3}"
                  Offset="1" />
    </LinearGradientBrush>

    <LinearGradientBrush x:Uid="LinearGradientBrush_9" x:Key="DisabledBackgroundBrush"
                       EndPoint="0.5,1"
                       StartPoint="0.5,0">
        <GradientStop x:Uid="GradientStop_29" Color="#FFFFFFFF" />
        <GradientStop x:Uid="GradientStop_30" Color="#FF62676A"
                  Offset="1" />
        <GradientStop x:Uid="GradientStop_31" Color="#FFD1D4D6"
                  Offset="0.41800001263618469" />
        <GradientStop x:Uid="GradientStop_32" Color="#FFA9AFB5"
                  Offset="0.425" />
    </LinearGradientBrush>

    <LinearGradientBrush x:Uid="LinearGradientBrush_10" x:Key="SelectedBackgroundBrush"
                       EndPoint="0.5,1"
                       StartPoint="0.5,0">
        <GradientStop x:Uid="GradientStop_33" Color="{StaticResource SelectedBackgroundGradient1}" />
        <GradientStop x:Uid="GradientStop_34" Color="{StaticResource SelectedBackgroundGradient2}"
                  Offset="0.38" />
        <GradientStop x:Uid="GradientStop_35" Color="{StaticResource SelectedBackgroundGradient3}"
                  Offset="0.384" />
        <GradientStop x:Uid="GradientStop_36" Color="{StaticResource SelectedBackgroundGradient4}"
                  Offset="1" />
    </LinearGradientBrush>

    <LinearGradientBrush x:Uid="LinearGradientBrush_11" x:Key="SelectedBackgroundBrushVertical"
                       EndPoint="2.05,0.5"
                       StartPoint="-0.55,0.5">
        <GradientStop x:Uid="GradientStop_37" Color="{StaticResource SelectedBackgroundGradient1}" />
        <GradientStop x:Uid="GradientStop_38" Color="{StaticResource SelectedBackgroundGradient2}"
                  Offset="0.37999999523162842" />
        <GradientStop x:Uid="GradientStop_39" Color="{StaticResource SelectedBackgroundGradient3}"
                  Offset="0.38400000333786011" />
        <GradientStop x:Uid="GradientStop_40" Color="{StaticResource SelectedBackgroundGradient4}"
                  Offset="1" />
    </LinearGradientBrush>

    <LinearGradientBrush x:Uid="LinearGradientBrush_12" x:Key="HorizontalSliderBorderBrush"
                       EndPoint="0.5,1"
                       StartPoint="0.5,0">
        <GradientStop x:Uid="GradientStop_41" Color="{StaticResource SliderBorderGradient1}" />
        <GradientStop x:Uid="GradientStop_42" Color="{StaticResource SliderBorderGradient2}"
                  Offset="1" />
    </LinearGradientBrush>

    <LinearGradientBrush x:Uid="LinearGradientBrush_13" x:Key="VerticalSliderBorderBrush"
                       EndPoint="1.35,0.5"
                       StartPoint="0.6,0.5">
        <GradientStop x:Uid="GradientStop_43" Color="{StaticResource SliderBorderGradient1}" />
        <GradientStop x:Uid="GradientStop_44" Color="{StaticResource SliderBorderGradient2}"
                  Offset="1" />
    </LinearGradientBrush>

    <LinearGradientBrush x:Uid="LinearGradientBrush_14" x:Key="WindowBackgroundBrush"
                       EndPoint="0.5,1"
                       StartPoint="0.5,0">
        <GradientStop x:Uid="GradientStop_45" Color="{StaticResource WindowBackgroundBrushGradient1}" />
        <GradientStop x:Uid="GradientStop_46" Color="{StaticResource WindowBackgroundBrushGradient2}"
                  Offset="1" />
    </LinearGradientBrush>

    <LinearGradientBrush x:Uid="LinearGradientBrush_15" x:Key="MouseOverBrush" EndPoint="0,1" StartPoint="0,0">
        <GradientStop x:Uid="GradientStop_47" Color="#FFF" Offset="0.0"/>
        <GradientStop x:Uid="GradientStop_48" Color="#AAA" Offset="1.0"/>
    </LinearGradientBrush>

    <LinearGradientBrush x:Uid="LinearGradientBrush_16" x:Key="PressedBrush" EndPoint="0,1" StartPoint="0,0">
        <GradientStop x:Uid="GradientStop_49" Color="#BBB" Offset="0.0"/>
        <GradientStop x:Uid="GradientStop_50" Color="#EEE" Offset="0.1"/>
        <GradientStop x:Uid="GradientStop_51" Color="#EEE" Offset="0.9"/>
        <GradientStop x:Uid="GradientStop_52" Color="#FFF" Offset="1.0"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Uid="LinearGradientBrush_17" x:Key="PressedBorderBrush" EndPoint="0,1" StartPoint="0,0">
        <GradientStop x:Uid="GradientStop_53" Color="#444" Offset="0.0"/>
        <GradientStop x:Uid="GradientStop_54" Color="#888" Offset="1.0"/>
    </LinearGradientBrush>


    <LinearGradientBrush x:Uid="LinearGradientBrush_18" x:Key="LightBrush" EndPoint="0,1" StartPoint="0,0">
        <GradientStop x:Uid="GradientStop_55" Color="#FFF" Offset="0.0"/>
        <GradientStop x:Uid="GradientStop_56" Color="#EEE" Offset="1.0"/>
    </LinearGradientBrush>

    <SolidColorBrush x:Uid="SolidColorBrush_2" x:Key="DisabledForegroundBrush" Color="#FF636363"/>

    <SolidColorBrush x:Uid="SolidColorBrush_3" x:Key="DisabledBorderBrush" Color="#AAA"/>

    <LinearGradientBrush x:Uid="LinearGradientBrush_19" x:Key="DefaultedBorderBrush" EndPoint="0,1" StartPoint="0,0">
        <GradientStop x:Uid="GradientStop_57" Color="#777" Offset="0.0"/>
        <GradientStop x:Uid="GradientStop_58" Color="#000" Offset="1.0"/>
    </LinearGradientBrush>

    <SolidColorBrush x:Uid="SolidColorBrush_4" x:Key="SolidBorderBrush" Color="#888"/>
    <SolidColorBrush x:Uid="SolidColorBrush_5" x:Key="LightBorderBrush" Color="#AAA"/>
    <SolidColorBrush x:Uid="SolidColorBrush_6" x:Key="LightColorBrush" Color="#DDD"/>


    <SolidColorBrush x:Uid="SolidColorBrush_7" x:Key="GlyphBrush" Color="{StaticResource WhiteColor}"/>


    <Style x:Uid="Style_1" x:Key="NuclearButtonFocusVisual">
        <Setter x:Uid="Setter_1" Property="Control.Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_1">
                    <Border x:Uid="Border_1">
                        <Rectangle x:Uid="Rectangle_1" Margin="2" Stroke="#60000000" StrokeThickness="1" StrokeDashArray="1 2"/>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Uid="Style_2" TargetType="{x:Type Button}" BasedOn="{x:Null}">
        <Setter x:Uid="Setter_2" Property="FocusVisualStyle" Value="{DynamicResource NuclearButtonFocusVisual}"/>
        <Setter x:Uid="Setter_3" Property="Background" Value="{DynamicResource NormalBrush}"/>
        <Setter x:Uid="Setter_4" Property="BorderBrush" Value="{DynamicResource NormalBorderBrush}"/>
<Setter x:Uid="Setter_5" Property="Template" Value="{DynamicResource ButtonTemplate}" />
        <Setter x:Uid="Setter_6" Property="Foreground" Value="{DynamicResource TextBrush}"/>
        <Setter x:Uid="Setter_7" Property="Padding" Value="3"/>
    </Style>
    
    <ControlTemplate x:Uid="ControlTemplate_2" x:Key="ButtonTemplate" TargetType="{x:Type Button}">
                    <ControlTemplate.Resources>
                        <Storyboard x:Uid="Storyboard_1" x:Key="HoverOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_1" BeginTime="00:00:00" Storyboard.TargetName="Hover" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_1" KeyTime="00:00:00.2000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_2" x:Key="HoverOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_2" BeginTime="00:00:00" Storyboard.TargetName="Hover" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_2" KeyTime="00:00:00.3000000" Value="0" />
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_3" x:Key="PressedOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_3" BeginTime="00:00:00" Storyboard.TargetName="Background" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_3" KeyTime="00:00:00.2000000" Value="0.6"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_4" x:Key="PressedOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_4" BeginTime="00:00:00" Storyboard.TargetName="Background" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_4" KeyTime="00:00:00.3000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_5" x:Key="FocusedOn">
                            <ObjectAnimationUsingKeyFrames x:Uid="ObjectAnimationUsingKeyFrames_1" BeginTime="00:00:00" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(UIElement.Visibility)">
                                <DiscreteObjectKeyFrame x:Uid="DiscreteObjectKeyFrame_1" KeyTime="00:00:00.1000000" Value="{x:Static Visibility.Visible}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_5" BeginTime="00:00:00" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_5" KeyTime="00:00:00.1000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>

                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_6" x:Key="FocusedOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_6" BeginTime="00:00:00" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_6" KeyTime="00:00:00.3000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                    </ControlTemplate.Resources>

                    <Grid x:Uid="Grid" x:Name="Grid">
                        <Border x:Uid="Background" x:Name="Background" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="2,2,2,2" CornerRadius="2,2,2,2">
                            <Border x:Uid="Hover" x:Name="Hover" Background="{StaticResource HoverBrush}" CornerRadius="1,1,1,1" Height="Auto" Width="Auto" Opacity="0"/>
                        </Border>
                        <ContentPresenter x:Uid="ContentPresenter_1" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" RecognizesAccessKey="True"/>
                        <Border x:Uid="FocusVisualElement" x:Name="FocusVisualElement"
                    IsHitTestVisible="false"
                    BorderBrush="{StaticResource HoverBrush}"
                    BorderThickness="2,2,2,2"
                    CornerRadius="2,2,2,2" Opacity="0"/>
                    </Grid>

                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_1" Property="IsDefault" Value="True">
                            <Setter x:Uid="Setter_8" Property="BorderBrush" TargetName="Background" Value="{DynamicResource DefaultedBorderBrush}"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_2" Property="IsKeyboardFocused" Value="true">
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_1" Storyboard="{StaticResource FocusedOn}"/>
                            </Trigger.EnterActions>
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="FocusedOff_BeginStoryboard" x:Name="FocusedOff_BeginStoryboard" Storyboard="{StaticResource FocusedOff}"/>
                            </Trigger.ExitActions>
                        </Trigger>
                        <Trigger x:Uid="Trigger_3" Property="IsMouseOver" Value="true">
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_2" Storyboard="{StaticResource HoverOn}"/>
                            </Trigger.EnterActions>
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_3" Storyboard="{StaticResource HoverOff}"/>
                            </Trigger.ExitActions>
                        </Trigger>
                        <Trigger x:Uid="Trigger_4" Property="IsPressed" Value="true">
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_4" Storyboard="{StaticResource PressedOn}"/>
                            </Trigger.EnterActions>
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_5" Storyboard="{StaticResource PressedOff}"/>
                            </Trigger.ExitActions>
                        </Trigger>
                        <Trigger x:Uid="Trigger_5" Property="IsEnabled" Value="true"/>
                        <Trigger x:Uid="Trigger_6" Property="IsEnabled" Value="false">
                            <Setter x:Uid="Setter_9" Property="Background" Value="{DynamicResource DisabledBackgroundBrush}" TargetName="Background"/>
                            <Setter x:Uid="Setter_10" Property="BorderBrush" Value="{DynamicResource DisabledBorderBrush}" TargetName="Background"/>
                            <Setter x:Uid="Setter_11" Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>

    <Style x:Uid="Style_3" x:Key="RadioButtonFocusVisual">
        <Setter x:Uid="Setter_12" Property="Control.Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_3">
                    <Border x:Uid="Border_2">
                        <Rectangle x:Uid="Rectangle_2" Margin="15,0,0,0" Stroke="#60000000" StrokeThickness="1" StrokeDashArray="1 2"/>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Uid="Style_4" x:Key="CheckBoxFocusVisual">
        <Setter x:Uid="Setter_13" Property="Control.Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_4">
                    <Border x:Uid="Border_3">
                        <Rectangle x:Uid="Rectangle_3" Margin="15,0,0,0" Stroke="#60000000" StrokeThickness="1" StrokeDashArray="1 2"/>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Uid="Style_5" TargetType="{x:Type CheckBox}">
        <Setter x:Uid="Setter_14" Property="SnapsToDevicePixels" Value="true"/>
        <Setter x:Uid="Setter_15" Property="FocusVisualStyle" Value="{DynamicResource CheckBoxFocusVisual}"/>
        <Setter x:Uid="Setter_16" Property="Background" Value="{DynamicResource NormalBrush}"/>
        <Setter x:Uid="Setter_17" Property="BorderBrush" Value="{DynamicResource NormalBorderBrush}"/>
<Setter x:Uid="Setter_18" Property="Template" Value="{DynamicResource CheckBoxTemplate}" />
        <Setter x:Uid="Setter_19" Property="Foreground" Value="{DynamicResource TextBrush}"/>
        <Style.Triggers>
            <Trigger x:Uid="Trigger_7" Property="IsEnabled" Value="False">
                <Setter x:Uid="Setter_20" Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}"/>
            </Trigger>
        </Style.Triggers>
    </Style>
    
    <ControlTemplate x:Uid="ControlTemplate_5" x:Key="CheckBoxTemplate" TargetType="{x:Type CheckBox}">
                    <ControlTemplate.Resources>
                        <Storyboard x:Uid="Storyboard_7" x:Key="CheckedFalse">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_7" BeginTime="00:00:00" Storyboard.TargetName="CheckIcon" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_7" KeyTime="00:00:00.1000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_8" x:Key="CheckedTrue">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_8" BeginTime="00:00:00" Storyboard.TargetName="CheckIcon" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_8" KeyTime="00:00:00.1000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_9" x:Key="ThreeStateOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_9" BeginTime="00:00:00" Storyboard.TargetName="IndeterminateIcon" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_9" KeyTime="00:00:00.1000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_10" x:Key="ThreeStateOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_10" BeginTime="00:00:00" Storyboard.TargetName="IndeterminateIcon" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_10" KeyTime="00:00:00.3000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_11" x:Key="HoverOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_11" Storyboard.TargetName="BackgroundOverlay" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_11" KeyTime="00:00:00.2000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_12" x:Key="HoverOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_12" Storyboard.TargetName="BackgroundOverlay" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_12" KeyTime="00:00:00.3000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_13" x:Key="PressedOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_13" BeginTime="00:00:00" Storyboard.TargetName="Background" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_13" KeyTime="00:00:00.2000000" Value="0.6"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_14" x:Key="PressedOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_14" BeginTime="00:00:00" Storyboard.TargetName="Background" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_14" KeyTime="00:00:00.2000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                    </ControlTemplate.Resources>
                    <BulletDecorator x:Uid="BulletDecorator_1" Background="Transparent">
                        <BulletDecorator.Bullet>
                            <Grid x:Uid="Grid_1" Width="16" Height="16">
                                <Rectangle x:Uid="Rectangle_4" Height="14" Margin="1" x:Name="Background" Width="14" Fill="{TemplateBinding Background}" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="2" RadiusX="1" RadiusY="1"/>
                                <Rectangle x:Uid="BackgroundOverlay" Height="12" x:Name="BackgroundOverlay" Width="12" Opacity="0" Fill="{StaticResource HoverBrush}" Stroke="{x:Null}" StrokeThickness="1" RadiusX="1" RadiusY="1"/>

                                <Path x:Uid="CheckIcon" x:Name="CheckIcon" Opacity="0" Stretch="Fill" Data="M102.03442,598.79645 L105.22962,597.78918 L106.95686,599.19977 C106.95686,599.19977 113.77958,590.53656 113.77958,590.53656 C113.77958,590.53656 107.40649,603.79431 107.40649,603.79431 z" Fill="#FFFFFFFF"
                    Height="10"
                    Width="11"
                    Stroke="{StaticResource CheckIconBrush}"
                    StrokeThickness="0"/>

                                <Rectangle x:Uid="IndeterminateIcon" Height="9" x:Name="IndeterminateIcon" Width="9" Opacity="0" Fill="#FFFFFFFF" Stroke="{StaticResource CheckIconBrush}" RadiusX="1" RadiusY="1"/>
                                <Rectangle x:Uid="DisabledVisualElement" Height="14" x:Name="DisabledVisualElement" Width="14" Opacity="0" Fill="{StaticResource DisabledBackgroundBrush}" RadiusX="1" RadiusY="1"/>
                                <Rectangle x:Uid="ContentFocusVisualElement" Height="16" x:Name="ContentFocusVisualElement" Width="16" IsHitTestVisible="false" Opacity="0" Stroke="{StaticResource HoverBrush}" StrokeThickness="1" RadiusX="2" RadiusY="2"/>
                            </Grid>
                        </BulletDecorator.Bullet>
                        <ContentPresenter x:Uid="ContentPresenter_2" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" RecognizesAccessKey="True"/>
                    </BulletDecorator>

                    <ControlTemplate.Triggers>
                        <MultiTrigger x:Uid="MultiTrigger_1">
                            <MultiTrigger.Conditions>
                                <Condition x:Uid="Condition_1" Property="IsChecked" Value="True" />
                                <Condition x:Uid="Condition_2" Property="IsThreeState" Value="True" />
                            </MultiTrigger.Conditions>
                            <MultiTrigger.EnterActions>
                                <BeginStoryboard x:Uid="ThreeStateOn_BeginStoryboard" x:Name="ThreeStateOn_BeginStoryboard" Storyboard="{StaticResource CheckedFalse}" />
                            </MultiTrigger.EnterActions>
                            <MultiTrigger.ExitActions>
                                <BeginStoryboard x:Uid="ThreeStateOff_BeginStoryboard" x:Name="ThreeStateOff_BeginStoryboard" Storyboard="{StaticResource CheckedTrue}" />
                            </MultiTrigger.ExitActions>
                        </MultiTrigger>
                        <MultiTrigger x:Uid="MultiTrigger_2">
                            <MultiTrigger.Conditions>
                                <Condition x:Uid="Condition_3" Property="IsChecked" Value="{x:Null}" />
                                <Condition x:Uid="Condition_4" Property="IsThreeState" Value="True" />
                            </MultiTrigger.Conditions>
                            <MultiTrigger.EnterActions>
                                <BeginStoryboard x:Uid="ThreeStateOn1_BeginStoryboard" x:Name="ThreeStateOn1_BeginStoryboard" Storyboard="{StaticResource ThreeStateOn}" />
                            </MultiTrigger.EnterActions>
                            <MultiTrigger.ExitActions>
                                <BeginStoryboard x:Uid="ThreeStateOff1_BeginStoryboard" x:Name="ThreeStateOff1_BeginStoryboard" Storyboard="{StaticResource ThreeStateOff}" />
                            </MultiTrigger.ExitActions>
                            <Setter x:Uid="Setter_21" Property="Visibility" TargetName="CheckIcon" Value="Hidden"/>
                        </MultiTrigger>
                        <Trigger x:Uid="Trigger_8" Property="IsChecked" Value="True">
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="CheckedTrue_BeginStoryboard" Storyboard="{StaticResource CheckedFalse}" x:Name="CheckedTrue_BeginStoryboard"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="CheckedTrue_BeginStoryboard1" x:Name="CheckedTrue_BeginStoryboard1" Storyboard="{StaticResource CheckedTrue}"/>
                            </Trigger.EnterActions>
                        </Trigger>
                        <Trigger x:Uid="Trigger_9" Property="IsMouseOver" Value="true">
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_6" Storyboard="{StaticResource HoverOn}"/>
                            </Trigger.EnterActions>
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_7" Storyboard="{StaticResource HoverOff}"/>
                            </Trigger.ExitActions>
                        </Trigger>
                        <Trigger x:Uid="Trigger_10" Property="IsPressed" Value="true">
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_8" Storyboard="{StaticResource PressedOn}"/>
                            </Trigger.EnterActions>
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_9" Storyboard="{StaticResource PressedOff}"/>
                            </Trigger.ExitActions>
                        </Trigger>
                        <Trigger x:Uid="Trigger_11" Property="IsEnabled" Value="false">
                            <Setter x:Uid="Setter_22" Property="Fill" TargetName="Background" Value="{DynamicResource DisabledBackgroundBrush}"/>
                            <Setter x:Uid="Setter_23" Property="Stroke" TargetName="Background" Value="{DynamicResource DisabledBorderBrush}"/>
                        </Trigger>
                    </ControlTemplate.Triggers>

                </ControlTemplate>

    <Style x:Uid="Style_6" TargetType="{x:Type RadioButton}">
        <Setter x:Uid="Setter_24" Property="Foreground" Value="{DynamicResource TextBrush}"/>
        <Setter x:Uid="Setter_25" Property="SnapsToDevicePixels" Value="true"/>
        <Setter x:Uid="Setter_26" Property="FocusVisualStyle" Value="{DynamicResource RadioButtonFocusVisual}"/>
        <Setter x:Uid="Setter_27" Property="Background" Value="{DynamicResource NormalBrush}"/>
        <Setter x:Uid="Setter_28" Property="BorderBrush" Value="{DynamicResource NormalBorderBrush}"/>
        <Setter x:Uid="Setter_29" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_6" TargetType="{x:Type RadioButton}">
                    <ControlTemplate.Resources>
                        <Storyboard x:Uid="Storyboard_15" x:Key="CheckedFalse">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_15" BeginTime="00:00:00" Storyboard.TargetName="CheckIcon" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_15" KeyTime="00:00:00.3000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_16" x:Key="CheckedTrue">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_16" BeginTime="00:00:00" Storyboard.TargetName="CheckIcon" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_16" KeyTime="00:00:00.1000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_17" x:Key="HoverOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_17" Storyboard.TargetName="BackgroundOverlay" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_17" KeyTime="00:00:00.2000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_18" x:Key="HoverOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_18" Storyboard.TargetName="BackgroundOverlay" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_18" KeyTime="00:00:00.3000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_19" x:Key="PressedOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_19" BeginTime="00:00:00" Storyboard.TargetName="Background" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_19" KeyTime="00:00:00.2000000" Value="0.6"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_20" x:Key="PressedOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_20" BeginTime="00:00:00" Storyboard.TargetName="Background" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_20" KeyTime="00:00:00.2000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                    </ControlTemplate.Resources>
                    <BulletDecorator x:Uid="BulletDecorator_2" Background="Transparent">
                        <BulletDecorator.Bullet>
                            <Grid x:Uid="Grid_2" Width="16" Height="16">
                                <Ellipse x:Uid="Ellipse_1" Height="14"
                       Margin="1"
                       x:Name="Background"
                       Width="14"
                       Fill="{StaticResource NormalBrush}"
                       Stroke="{TemplateBinding BorderBrush}"
                       StrokeThickness="2"/>
                                <Ellipse x:Uid="Ellipse_2" Height="12"
                       x:Name="BackgroundOverlay"
                       Width="12"
                       Opacity="0"
                       Fill="{StaticResource HoverBrush}"
                       Stroke="#00000000"
                       Margin="2,2,2,2"
                       StrokeThickness="0"/>
                                <Border x:Uid="Border_4" HorizontalAlignment="Center"
                      VerticalAlignment="Center"
                      Width="6"
                      Height="6"
                      CornerRadius="1,1,1,1"
                      BorderThickness="1,1,1,1"
                      Background="#FFFFFFFF"
                      x:Name="CheckIcon"
                      BorderBrush="{StaticResource CheckIconBrush}"
                      Opacity="0"/>
                            </Grid>
                        </BulletDecorator.Bullet>
                        <ContentPresenter x:Uid="ContentPresenter_3" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" RecognizesAccessKey="True"/>
                    </BulletDecorator>

                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_12" Property="IsChecked" Value="false">
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_10" Storyboard="{StaticResource CheckedTrue}" x:Name="CheckedTrue_BeginStoryboard"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_11" Storyboard="{StaticResource CheckedFalse}"/>
                            </Trigger.EnterActions>
                        </Trigger>
                        <Trigger x:Uid="Trigger_13" Property="IsMouseOver" Value="true">
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_12" Storyboard="{StaticResource HoverOn}"/>
                            </Trigger.EnterActions>
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_13" Storyboard="{StaticResource HoverOff}"/>
                            </Trigger.ExitActions>
                        </Trigger>
                        <Trigger x:Uid="Trigger_14" Property="IsPressed" Value="true">
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_14" Storyboard="{StaticResource PressedOn}"/>
                            </Trigger.EnterActions>
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_15" Storyboard="{StaticResource PressedOff}"/>
                            </Trigger.ExitActions>
                        </Trigger>
                        <Trigger x:Uid="Trigger_15" Property="IsEnabled" Value="false">
                            <Setter x:Uid="Setter_30" Property="Fill" TargetName="Background" Value="{DynamicResource DisabledBackgroundBrush}"/>
                            <Setter x:Uid="Setter_31" Property="Stroke" TargetName="Background" Value="{DynamicResource DisabledBorderBrush}"/>

                        </Trigger>

                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Style.Triggers>
            <Trigger x:Uid="Trigger_16" Property="IsEnabled" Value="False">
                <Setter x:Uid="Setter_32" Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}"/>
            </Trigger>
        </Style.Triggers>
    </Style>

    <Style x:Uid="Style_7" x:Key="NuclearRepeatButton" d:IsControlPart="True" TargetType="{x:Type RepeatButton}" BasedOn="{x:Null}">
        <Setter x:Uid="Setter_33" Property="Background" Value="{DynamicResource NormalBrush}"/>
        <Setter x:Uid="Setter_34" Property="BorderBrush" Value="{DynamicResource NormalBorderBrush}"/>
        <Setter x:Uid="Setter_35" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_7" TargetType="{x:Type RepeatButton}">
                    <ControlTemplate.Resources>
                        <Storyboard x:Uid="Storyboard_21" x:Key="HoverOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_21" BeginTime="00:00:00" Storyboard.TargetName="BackgroundAnimation" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_21" KeyTime="00:00:00.2000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_22" x:Key="HoverOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_22" BeginTime="00:00:00" Storyboard.TargetName="BackgroundAnimation" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_22" KeyTime="00:00:00.3000000" Value="0" />
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_23" x:Key="PressedOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_23" BeginTime="00:00:00" Storyboard.TargetName="Border" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_23" KeyTime="00:00:00.2000000" Value="0.6"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_24" x:Key="PressedOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_24" BeginTime="00:00:00" Storyboard.TargetName="Border" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_24" KeyTime="00:00:00.3000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                    </ControlTemplate.Resources>
                    <Grid x:Uid="Grid_3">
                        <Border x:Uid="Border" x:Name="Border" Background="{TemplateBinding Background}" CornerRadius="2,2,2,2" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="2"/>
                        <Rectangle x:Uid="BackgroundAnimation" x:Name="BackgroundAnimation"
                             Opacity="0"
                             Fill="{StaticResource HoverBrush}"
                             Stroke="{x:Null}"
                             StrokeThickness="0"
                             RadiusX="1"
                             RadiusY="1"
                             Margin="2,2,2,2" />
                        <ContentPresenter x:Uid="ContentPresenter" HorizontalAlignment="Center" x:Name="ContentPresenter" VerticalAlignment="Center" Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" ContentTemplateSelector="{TemplateBinding ContentTemplateSelector}"/>
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_17" Property="IsKeyboardFocused" Value="true">
                            <Setter x:Uid="Setter_36" Property="BorderBrush" Value="{DynamicResource DefaultedBorderBrush}" TargetName="Border"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_18" Property="IsMouseOver" Value="true">
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_16" Storyboard="{StaticResource HoverOn}"/>
                            </Trigger.EnterActions>
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_17" Storyboard="{StaticResource HoverOff}"/>
                            </Trigger.ExitActions>
                        </Trigger>
                        <Trigger x:Uid="Trigger_19" Property="IsPressed" Value="true">
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_18" Storyboard="{StaticResource PressedOn}"/>
                            </Trigger.EnterActions>
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_19" Storyboard="{StaticResource PressedOff}"/>
                            </Trigger.ExitActions>
                        </Trigger>
                        <Trigger x:Uid="Trigger_20" Property="IsEnabled" Value="false">
                            <Setter x:Uid="Setter_37" Property="Background" Value="{DynamicResource DisabledBackgroundBrush}" TargetName="Border"/>
                            <Setter x:Uid="Setter_38" Property="BorderBrush" Value="{DynamicResource DisabledBorderBrush}" TargetName="Border"/>
                            <Setter x:Uid="Setter_39" Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Uid="Style_8" x:Key="NuclearThumbStyle" d:IsControlPart="True" TargetType="{x:Type Thumb}" BasedOn="{x:Null}">
        <Setter x:Uid="Setter_40" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_8" TargetType="{x:Type Thumb}">
                    <ControlTemplate.Resources>
                        <Storyboard x:Uid="Storyboard_25" x:Key="HoverOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_25" BeginTime="00:00:00" Storyboard.TargetName="BackgroundMouseOver" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_25" KeyTime="00:00:00.2000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_26" x:Key="HoverOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_26" BeginTime="00:00:00" Storyboard.TargetName="BackgroundMouseOver" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_26" KeyTime="00:00:00.3000000" Value="0" />
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_27" x:Key="PressedOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_27" BeginTime="00:00:00" Storyboard.TargetName="Background" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_27" KeyTime="00:00:00.2000000" Value="0.6"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_28" x:Key="PressedOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_28" BeginTime="00:00:00" Storyboard.TargetName="Background" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_28" KeyTime="00:00:00.3000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                    </ControlTemplate.Resources>
                    <Grid x:Uid="Grid_4" Margin="0,0,0,0" x:Name="Grid">
                        <Rectangle x:Uid="Rectangle_5" x:Name="Background"
							Fill="{StaticResource NormalBrush}"
							StrokeThickness="2"
							RadiusX="2"
							RadiusY="2"
							Stroke="{StaticResource NormalBorderBrush}" />
                        <Rectangle x:Uid="BackgroundMouseOver" x:Name="BackgroundMouseOver"
							Fill="{StaticResource HoverBrush}"
							Stroke="{x:Null}"
							StrokeThickness="1"
							RadiusX="1"
							RadiusY="1"
							Margin="2,2,2,2" Opacity="0" />
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_21" Property="IsFocused" Value="True"/>
                        <Trigger x:Uid="Trigger_22" Property="IsMouseOver" Value="true">
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_20" Storyboard="{StaticResource HoverOn}"/>
                            </Trigger.EnterActions>
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_21" Storyboard="{StaticResource HoverOff}"/>
                            </Trigger.ExitActions>
                        </Trigger>
                        <Trigger x:Uid="Trigger_23" Property="IsDragging" Value="true">
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_22" Storyboard="{StaticResource PressedOn}"/>
                            </Trigger.EnterActions>
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_23" Storyboard="{StaticResource PressedOff}"/>
                            </Trigger.ExitActions>
                        </Trigger>
                        <Trigger x:Uid="Trigger_24" Property="IsEnabled" Value="False">
                            <Setter x:Uid="Setter_41" Property="Fill" Value="{DynamicResource DisabledBackgroundBrush}" TargetName="Background"/>
                            <Setter x:Uid="Setter_42" Property="Stroke" Value="{DynamicResource DisabledBorderBrush}" TargetName="Background"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Uid="Style_9" x:Key="NuclearScrollRepeatButtonStyle" d:IsControlPart="True" TargetType="{x:Type RepeatButton}">
        <Setter x:Uid="Setter_43" Property="Background" Value="Transparent"/>
        <Setter x:Uid="Setter_44" Property="BorderBrush" Value="Transparent"/>
        <Setter x:Uid="Setter_45" Property="IsTabStop" Value="false"/>
        <Setter x:Uid="Setter_46" Property="Focusable" Value="false"/>
        <Setter x:Uid="Setter_47" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_9" TargetType="{x:Type RepeatButton}">
                    <Grid x:Uid="Grid_5">
                        <Rectangle x:Uid="Rectangle_6" Fill="{TemplateBinding Background}" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="{TemplateBinding BorderThickness}"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>


    <Style x:Uid="Style_10" TargetType="{x:Type ScrollBar}">
        <Setter x:Uid="Setter_48" Property="Stylus.IsFlicksEnabled" Value="false"/>
        <Setter x:Uid="Setter_49" Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
        <Setter x:Uid="Setter_50" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_10" TargetType="{x:Type ScrollBar}">
                    <Grid x:Uid="GridRoot" x:Name="GridRoot" Width="{DynamicResource {x:Static SystemParameters.VerticalScrollBarWidthKey}}">
                        <Grid.RowDefinitions>
                            <RowDefinition x:Uid="RowDefinition_1" MaxHeight="18"/>
                            <RowDefinition x:Uid="RowDefinition_2" Height="0.00001*"/>
                            <RowDefinition x:Uid="RowDefinition_3" MaxHeight="18"/>
                        </Grid.RowDefinitions>

                        <Border x:Uid="Border_5" Grid.RowSpan="3" Background="#FFDDDEDF" CornerRadius="3,3,3,3"/>

                        <RepeatButton x:Uid="DecreaseRepeat" x:Name="DecreaseRepeat" Style="{DynamicResource NuclearRepeatButton}" Command="ScrollBar.LineUpCommand">
                            <Grid x:Uid="Grid_6">
                                <Path x:Uid="DecreaseArrow" x:Name="DecreaseArrow" StrokeThickness="1" Data="M 0 4 L 8 4 L 4 0 Z" Fill="{DynamicResource GlyphBrush}"/>
                            </Grid>
                        </RepeatButton>

                        <Track x:Uid="PART_Track" Grid.Row="1" x:Name="PART_Track" Orientation="Vertical" IsDirectionReversed="true">
                            <Track.Thumb>
                                <Thumb x:Uid="Thumb_1" Style="{DynamicResource NuclearThumbStyle}"/>
                            </Track.Thumb>
                            <Track.IncreaseRepeatButton>
                                <RepeatButton x:Uid="PageUp" x:Name="PageUp" Style="{DynamicResource NuclearScrollRepeatButtonStyle}" Command="ScrollBar.PageDownCommand"/>
                            </Track.IncreaseRepeatButton>
                            <Track.DecreaseRepeatButton>
                                <RepeatButton x:Uid="PageDown" x:Name="PageDown" Style="{DynamicResource NuclearScrollRepeatButtonStyle}" Command="ScrollBar.PageUpCommand"/>
                            </Track.DecreaseRepeatButton>
                        </Track>

                        <RepeatButton x:Uid="IncreaseRepeat" Grid.Row="2" x:Name="IncreaseRepeat" Style="{DynamicResource NuclearRepeatButton}" Command="ScrollBar.LineDownCommand">
                            <Grid x:Uid="Grid_7">
                                <Path x:Uid="IncreaseArrow" x:Name="IncreaseArrow" StrokeThickness="1" Data="M 0 0 L 4 4 L 8 0 Z" Fill="{DynamicResource GlyphBrush}"/>
                            </Grid>
                        </RepeatButton>
                    </Grid>

                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_25" Property="Orientation" Value="Horizontal">

                            <Setter x:Uid="Setter_51" Property="LayoutTransform" TargetName="GridRoot">
                                <Setter.Value>
                                    <RotateTransform x:Uid="RotateTransform_2" Angle="-90"/>
                                </Setter.Value>
                            </Setter>

                            <Setter x:Uid="Setter_52" TargetName="PART_Track" Property="Orientation" Value="Vertical"/>

                            <Setter x:Uid="Setter_53" Property="Command" Value="ScrollBar.LineLeftCommand" TargetName="DecreaseRepeat"/>
                            <Setter x:Uid="Setter_54" Property="Command" Value="ScrollBar.LineRightCommand" TargetName="IncreaseRepeat"/>
                            <Setter x:Uid="Setter_55" Property="Command" Value="ScrollBar.PageLeftCommand" TargetName="PageDown"/>
                            <Setter x:Uid="Setter_56" Property="Command" Value="ScrollBar.PageRightCommand" TargetName="PageUp"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter x:Uid="Setter_57" Property="Background" Value="#FFDDDEDF"/>
    </Style>

    <Style x:Uid="Style_11" TargetType="{x:Type ScrollViewer}" BasedOn="{x:Null}">
        <Setter x:Uid="Setter_58" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_11" TargetType="{x:Type ScrollViewer}">
                    <Grid x:Uid="Grid_8" Background="{TemplateBinding Background}">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition x:Uid="ColumnDefinition_1" Width="*"/>
                            <ColumnDefinition x:Uid="ColumnDefinition_2" Width="Auto"/>
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition x:Uid="RowDefinition_4" Height="*"/>
                            <RowDefinition x:Uid="RowDefinition_5" Height="Auto"/>
                        </Grid.RowDefinitions>
                        <ScrollContentPresenter x:Uid="ScrollContentPresenter_1" Grid.Column="0" Grid.Row="0" Margin="{TemplateBinding Padding}" Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" CanContentScroll="{TemplateBinding CanContentScroll}"/>

                        <ScrollBar x:Uid="PART_HorizontalScrollBar" Visibility="{TemplateBinding ComputedHorizontalScrollBarVisibility}" Grid.Column="0" Grid.Row="1" x:Name="PART_HorizontalScrollBar"   Orientation="Horizontal" Value="{Binding Path=HorizontalOffset, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}" ViewportSize="{TemplateBinding ViewportWidth}" Minimum="0" Maximum="{TemplateBinding ScrollableWidth}" AutomationProperties.AutomationId="HorizontalScrollBar"/>
                        <ScrollBar x:Uid="PART_VerticalScrollBar" Visibility="{TemplateBinding ComputedVerticalScrollBarVisibility}" Grid.Column="1" Grid.Row="0" x:Name="PART_VerticalScrollBar"   Orientation="Vertical" Value="{Binding Path=VerticalOffset, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}" ViewportSize="{TemplateBinding ViewportHeight}" Minimum="0" Maximum="{TemplateBinding ScrollableHeight}" AutomationProperties.AutomationId="VerticalScrollBar"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Uid="Style_12" TargetType="{x:Type ListBox}">
        <Setter x:Uid="Setter_59" Property="SnapsToDevicePixels" Value="true"/>
        <Setter x:Uid="Setter_60" Property="Background" Value="{DynamicResource ShadeBrush}"/>
        <Setter x:Uid="Setter_61" Property="BorderBrush" Value="{DynamicResource NormalBorderBrush}"/>
        <Setter x:Uid="Setter_62" Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Auto"/>
        <Setter x:Uid="Setter_63" Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto"/>
        <Setter x:Uid="Setter_64" Property="ScrollViewer.CanContentScroll" Value="True"/>
        <Setter x:Uid="Setter_65" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_12" TargetType="{x:Type ListBox}">
                    <Grid x:Uid="Grid_9">
                        <Border x:Uid="Border_6" x:Name="Border" CornerRadius="2" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}"/>
                        <ScrollViewer   x:Uid="ScrollViewer_1" Focusable="false" Margin="0,0,0,1" >

                            <StackPanel x:Uid="StackPanel_1" Margin="2" IsItemsHost="true"/>

                        </ScrollViewer>
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_26" Property="IsEnabled" Value="false">
                            <Setter x:Uid="Setter_66" Property="Background" Value="{DynamicResource DisabledBackgroundBrush}" TargetName="Border"/>
                            <Setter x:Uid="Setter_67" Property="BorderBrush" Value="{DynamicResource DisabledBorderBrush}" TargetName="Border"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_27" Property="IsGrouping" Value="true">
                            <Setter x:Uid="Setter_68" Property="ScrollViewer.CanContentScroll" Value="false"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>


    <Style x:Uid="Style_13" d:IsControlPart="True" TargetType="{x:Type ListBoxItem}">
        <Setter x:Uid="Setter_69" Property="SnapsToDevicePixels" Value="true"/>
        <Setter x:Uid="Setter_70" Property="OverridesDefaultStyle" Value="true"/>
        <Setter x:Uid="Setter_71" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_13" TargetType="{x:Type ListBoxItem}">
                    <ControlTemplate.Resources>
                        <Storyboard x:Uid="Storyboard_29" x:Key="HoverOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_29" BeginTime="00:00:00" Storyboard.TargetName="HoverRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_29" KeyTime="00:00:00.2000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_30" x:Key="HoverOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_30" BeginTime="00:00:00" Storyboard.TargetName="HoverRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_30" KeyTime="00:00:00.3000000" Value="0" />
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_31" x:Key="SelectedOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_31" BeginTime="00:00:00" Storyboard.TargetName="SelectedRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_31" KeyTime="00:00:00.2000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_32" x:Key="SelectedOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_32" BeginTime="00:00:00" Storyboard.TargetName="SelectedRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_32" KeyTime="00:00:00.3000000" Value="0" />
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                    </ControlTemplate.Resources>
                    <Grid x:Uid="grid" Background="{TemplateBinding Background}"
						Margin="1,1,1,1" SnapsToDevicePixels="true" x:Name="grid">
                        <Rectangle x:Uid="Rectangle_7" x:Name="Background"
							IsHitTestVisible="False"
							Fill="{StaticResource SelectedBackgroundBrush}"
							RadiusX="0"/>
                        <Rectangle x:Uid="SelectedRectangle" x:Name="SelectedRectangle"
							IsHitTestVisible="False"
							Opacity="0"
							Fill="{StaticResource NormalBrush}"
							RadiusX="0"/>
                        <Rectangle x:Uid="HoverRectangle" x:Name="HoverRectangle"
							IsHitTestVisible="False"
							Fill="{StaticResource HoverBrush}"
							RadiusX="0"
							Opacity="0"/>
                        <ContentPresenter x:Uid="contentPresenter" Margin="5,3,3,3" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" x:Name="contentPresenter"/>
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_28" Property="IsMouseOver" Value="true">
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_24" Storyboard="{StaticResource HoverOn}"/>
                            </Trigger.EnterActions>
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_25" Storyboard="{StaticResource HoverOff}"/>
                            </Trigger.ExitActions>
                        </Trigger>
                        <Trigger x:Uid="Trigger_29" Property="IsSelected" Value="true">
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_26" Storyboard="{StaticResource SelectedOn}"/>
                            </Trigger.EnterActions>
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_27" Storyboard="{StaticResource SelectedOff}"/>
                            </Trigger.ExitActions>
                        </Trigger>

                        <Trigger x:Uid="Trigger_30" Property="IsEnabled" Value="false">
                            <Setter x:Uid="Setter_72" Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter x:Uid="Setter_73" Property="Foreground" Value="{DynamicResource TextBrush}"/>
    </Style>

    <Style x:Uid="Style_14" x:Key="ExpanderHeaderFocusVisual">
        <Setter x:Uid="Setter_74" Property="Control.Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_14">
                    <Border x:Uid="Border_7">
                        <Rectangle x:Uid="Rectangle_8" SnapsToDevicePixels="true" Margin="0" Stroke="Black" StrokeDashArray="1 2" StrokeThickness="1" />
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Uid="Style_15" x:Key="ExpanderDownHeaderStyle" TargetType="{x:Type ToggleButton}">
        <Setter x:Uid="Setter_75" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_15" TargetType="{x:Type ToggleButton}">
                    <ControlTemplate.Resources>
                        <Storyboard x:Uid="Storyboard_33" x:Key="HoverOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_33" BeginTime="00:00:00" Storyboard.TargetName="HoverRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_33" KeyTime="00:00:00.1000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_34" x:Key="HoverOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_34" BeginTime="00:00:00" Storyboard.TargetName="HoverRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_34" KeyTime="00:00:00.3000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_35" x:Key="PressedOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_35" BeginTime="00:00:00" Storyboard.TargetName="Rectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_35" KeyTime="00:00:00.1000000" Value="0.6"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_36" x:Key="PressedOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_36" BeginTime="00:00:00" Storyboard.TargetName="Rectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_36" KeyTime="00:00:00.3000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                    </ControlTemplate.Resources>
                    <Border x:Uid="border" Padding="{TemplateBinding Padding}" Background="#FFFFFFFF" BorderBrush="{DynamicResource NormalBorderBrush}" BorderThickness="1,1,1,1" CornerRadius="2,2,2,2" x:Name="border">
                        <Grid x:Uid="Grid_10" SnapsToDevicePixels="False" Background="Transparent">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition x:Uid="ColumnDefinition_3" Width="21" />
                                <ColumnDefinition x:Uid="ColumnDefinition_4" Width="*" />
                            </Grid.ColumnDefinitions>
                            <Rectangle x:Uid="Rectangle" Margin="3,3,3,3" x:Name="Rectangle" Fill="{DynamicResource NormalBrush}" Stroke="{DynamicResource NormalBorderBrush}" StrokeThickness="1" RadiusX="2" RadiusY="2" />
                            <Rectangle x:Uid="Rectangle_9" Margin="3,3,3,3" x:Name="HoverRectangle" Fill="{DynamicResource HoverBrush}" Stroke="{DynamicResource NormalBorderBrush}" StrokeThickness="1" RadiusX="2" RadiusY="2" Opacity="0" />
                            <Path x:Uid="Up_Arrow" HorizontalAlignment="Center" x:Name="Up_Arrow" VerticalAlignment="Center" Fill="{DynamicResource GlyphBrush}" Data="M 0 0 L 4 4 L 8 0 Z" />
                            <Path x:Uid="Down_Arrow" Visibility="Collapsed" HorizontalAlignment="Center" x:Name="Down_Arrow" VerticalAlignment="Center" Fill="{DynamicResource GlyphBrush}" Data="M 0 4 L 4 0 L 8 4 Z" />
                            <ContentPresenter x:Uid="ContentPresenter_4" SnapsToDevicePixels="True" HorizontalAlignment="Left" Margin="4,3,0,3" VerticalAlignment="Center" Grid.Column="1" RecognizesAccessKey="True" />
                        </Grid>
                    </Border>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_31" Property="IsEnabled" Value="False">
                            <Setter x:Uid="Setter_76" Property="Fill" TargetName="Rectangle" Value="{DynamicResource DisabledBackgroundBrush}"/>
                            <Setter x:Uid="Setter_77" Property="BorderBrush" TargetName="border" Value="{DynamicResource DisabledBorderBrush}"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_32" Property="IsChecked" Value="true">
                            <Setter x:Uid="Setter_78" Property="Visibility" TargetName="Down_Arrow" Value="Visible" />
                            <Setter x:Uid="Setter_79" Property="Visibility" TargetName="Up_Arrow" Value="Collapsed" />

                        </Trigger>
                        <Trigger x:Uid="Trigger_33" Property="IsMouseOver" Value="true">
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="HoverOff_BeginStoryboard" Storyboard="{StaticResource HoverOff}" x:Name="HoverOff_BeginStoryboard"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_28" Storyboard="{StaticResource HoverOn}"/>
                            </Trigger.EnterActions>

                        </Trigger>
                        <Trigger x:Uid="Trigger_34" Property="IsPressed" Value="true">
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="PressedOff_BeginStoryboard" Storyboard="{StaticResource PressedOff}" x:Name="PressedOff_BeginStoryboard"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="PressedOn_BeginStoryboard" Storyboard="{StaticResource PressedOn}" x:Name="PressedOn_BeginStoryboard"/>
                            </Trigger.EnterActions>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Uid="Style_16" x:Key="ExpanderRightHeaderStyle" TargetType="{x:Type ToggleButton}">
        <Setter x:Uid="Setter_80" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_16" TargetType="{x:Type ToggleButton}">
                    <ControlTemplate.Resources>
                        <Storyboard x:Uid="Storyboard_37" x:Key="HoverOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_37" BeginTime="00:00:00" Storyboard.TargetName="HoverRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_37" KeyTime="00:00:00.1000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_38" x:Key="HoverOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_38" BeginTime="00:00:00" Storyboard.TargetName="HoverRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_38" KeyTime="00:00:00.3000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_39" x:Key="PressedOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_39" BeginTime="00:00:00" Storyboard.TargetName="Rectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_39" KeyTime="00:00:00.1000000" Value="0.6"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_40" x:Key="PressedOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_40" BeginTime="00:00:00" Storyboard.TargetName="Rectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_40" KeyTime="00:00:00.3000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                    </ControlTemplate.Resources>
                    <Border x:Uid="Border_8" Padding="{TemplateBinding Padding}" Background="#FFFFFFFF" BorderBrush="{DynamicResource NormalBorderBrush}" BorderThickness="1,1,1,1" CornerRadius="2,2,2,2" x:Name="border">
                        <Grid x:Uid="Grid_11" SnapsToDevicePixels="False" Background="Transparent">
                            <Grid.RowDefinitions>
                                <RowDefinition x:Uid="RowDefinition_6" Height="21" />
                                <RowDefinition x:Uid="RowDefinition_7" Height="*" />
                            </Grid.RowDefinitions>
                            <Grid x:Uid="Grid_12">
                                <Grid.LayoutTransform>
                                    <TransformGroup x:Uid="TransformGroup_2">
                                        <TransformGroup.Children>
                                            <TransformCollection x:Uid="TransformCollection_1">
                                                <RotateTransform x:Uid="RotateTransform_3" Angle="-90" />
                                            </TransformCollection>
                                        </TransformGroup.Children>
                                    </TransformGroup>
                                </Grid.LayoutTransform>
                                <Rectangle x:Uid="Rectangle_10" Margin="3,3,1,3" x:Name="Rectangle" Fill="{DynamicResource NormalBrush}" Stroke="{DynamicResource NormalBorderBrush}" StrokeThickness="1" RadiusX="2" RadiusY="2" />
                                <Rectangle x:Uid="Rectangle_11" Margin="3,3,1,3" x:Name="HoverRectangle" Fill="{DynamicResource HoverBrush}" Stroke="{DynamicResource NormalBorderBrush}" StrokeThickness="1" RadiusX="2" RadiusY="2" Opacity="0" />
                                <Path x:Uid="Path_1" HorizontalAlignment="Center" x:Name="Up_Arrow" VerticalAlignment="Center" Fill="{DynamicResource GlyphBrush}" Data="M 0 0 L 4 4 L 8 0 Z" />
                                <Path x:Uid="Path_2" Visibility="Collapsed" HorizontalAlignment="Center" x:Name="Down_Arrow" VerticalAlignment="Center" Fill="{DynamicResource GlyphBrush}" Data="M 0 4 L 4 0 L 8 4 Z" />
                            </Grid>
                            <ContentPresenter x:Uid="ContentPresenter_5" SnapsToDevicePixels="True" HorizontalAlignment="Center" Margin="2,4,4,0" VerticalAlignment="Top" Grid.Row="1" RecognizesAccessKey="True">
                                <ContentPresenter.LayoutTransform>
                                    <TransformGroup x:Uid="TransformGroup_3">
                                        <TransformGroup.Children>
                                            <TransformCollection x:Uid="TransformCollection_2">
                                                <RotateTransform x:Uid="RotateTransform_4" Angle="-90" />
                                            </TransformCollection>
                                        </TransformGroup.Children>
                                    </TransformGroup>
                                </ContentPresenter.LayoutTransform>
                            </ContentPresenter>
                        </Grid>
                    </Border>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_35" Property="IsEnabled" Value="False">
                            <Setter x:Uid="Setter_81" Property="Fill" TargetName="Rectangle" Value="{DynamicResource DisabledBackgroundBrush}"/>
                            <Setter x:Uid="Setter_82" Property="BorderBrush" TargetName="border" Value="{DynamicResource DisabledBorderBrush}"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_36" Property="IsChecked" Value="true">
                            <Setter x:Uid="Setter_83" Property="Visibility" TargetName="Up_Arrow" Value="Collapsed" />
                            <Setter x:Uid="Setter_84" Property="Visibility" TargetName="Down_Arrow" Value="Visible" />
                        </Trigger>
                        <Trigger x:Uid="Trigger_37" Property="IsMouseOver" Value="true">
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_29" Storyboard="{StaticResource HoverOff}" x:Name="HoverOff_BeginStoryboard"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_30" Storyboard="{StaticResource HoverOn}"/>
                            </Trigger.EnterActions>

                        </Trigger>
                        <Trigger x:Uid="Trigger_38" Property="IsPressed" Value="true">
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_31" Storyboard="{StaticResource PressedOff}" x:Name="PressedOff_BeginStoryboard"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_32" Storyboard="{StaticResource PressedOn}" x:Name="PressedOn_BeginStoryboard"/>
                            </Trigger.EnterActions>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Uid="Style_17" x:Key="ExpanderUpHeaderStyle" TargetType="{x:Type ToggleButton}">
        <Setter x:Uid="Setter_85" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_17" TargetType="{x:Type ToggleButton}">
                    <ControlTemplate.Resources>
                        <Storyboard x:Uid="Storyboard_41" x:Key="HoverOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_41" BeginTime="00:00:00" Storyboard.TargetName="HoverRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_41" KeyTime="00:00:00.1000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_42" x:Key="HoverOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_42" BeginTime="00:00:00" Storyboard.TargetName="HoverRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_42" KeyTime="00:00:00.3000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_43" x:Key="PressedOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_43" BeginTime="00:00:00" Storyboard.TargetName="Rectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_43" KeyTime="00:00:00.1000000" Value="0.6"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_44" x:Key="PressedOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_44" BeginTime="00:00:00" Storyboard.TargetName="Rectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_44" KeyTime="00:00:00.3000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                    </ControlTemplate.Resources>
                    <Border x:Uid="Border_9" Padding="{TemplateBinding Padding}" CornerRadius="2,2,2,2" BorderThickness="1,1,1,1" Background="#FFFFFFFF" BorderBrush="{DynamicResource NormalBorderBrush}" x:Name="border">
                        <Grid x:Uid="Grid_13" SnapsToDevicePixels="False" Background="Transparent">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition x:Uid="ColumnDefinition_5" Width="21" />
                                <ColumnDefinition x:Uid="ColumnDefinition_6" Width="*" />
                            </Grid.ColumnDefinitions>
                            <Grid x:Uid="Grid_14">
                                <Grid.LayoutTransform>
                                    <TransformGroup x:Uid="TransformGroup_4">
                                        <TransformGroup.Children>
                                            <TransformCollection x:Uid="TransformCollection_3">
                                                <RotateTransform x:Uid="RotateTransform_5" Angle="180" />
                                            </TransformCollection>
                                        </TransformGroup.Children>
                                    </TransformGroup>
                                </Grid.LayoutTransform>
                                <Rectangle x:Uid="Rectangle_12" Margin="3,3,3,3" x:Name="Rectangle" Fill="{DynamicResource NormalBrush}" Stroke="{DynamicResource NormalBorderBrush}" StrokeThickness="1" RadiusX="2" RadiusY="2" />
                                <Rectangle x:Uid="Rectangle_13" Margin="3,3,3,3" x:Name="HoverRectangle" Fill="{DynamicResource HoverBrush}" Stroke="{DynamicResource NormalBorderBrush}" StrokeThickness="1" RadiusX="2" RadiusY="2" Opacity="0" />
                                <Path x:Uid="Path_3" HorizontalAlignment="Center" x:Name="Up_Arrow" VerticalAlignment="Center" Fill="{DynamicResource GlyphBrush}" Data="M 0 0 L 4 4 L 8 0 Z" />
                                <Path x:Uid="Path_4" Visibility="Collapsed" HorizontalAlignment="Center" x:Name="Down_Arrow" VerticalAlignment="Center" Fill="{DynamicResource GlyphBrush}" Data="M 0 4 L 4 0 L 8 4 Z" />
                            </Grid>
                            <ContentPresenter x:Uid="ContentPresenter_6" SnapsToDevicePixels="True" HorizontalAlignment="Left" Margin="4,3,0,3" VerticalAlignment="Center" Grid.Column="1" RecognizesAccessKey="True" />
                        </Grid>
                    </Border>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_39" Property="IsEnabled" Value="False">
                            <Setter x:Uid="Setter_86" Property="BorderBrush" TargetName="border" Value="{DynamicResource DisabledBorderBrush}"/>
                            <Setter x:Uid="Setter_87" Property="Fill" TargetName="Rectangle" Value="{DynamicResource DisabledBackgroundBrush}"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_40" Property="IsChecked" Value="true">
                            <Setter x:Uid="Setter_88" Property="Visibility" TargetName="Up_Arrow" Value="Collapsed" />
                            <Setter x:Uid="Setter_89" Property="Visibility" TargetName="Down_Arrow" Value="Visible" />
                        </Trigger>
                        <Trigger x:Uid="Trigger_41" Property="IsMouseOver" Value="true">
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_33" Storyboard="{StaticResource HoverOff}" x:Name="HoverOff_BeginStoryboard"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_34" Storyboard="{StaticResource HoverOn}"/>
                            </Trigger.EnterActions>

                        </Trigger>
                        <Trigger x:Uid="Trigger_42" Property="IsPressed" Value="true">
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_35" Storyboard="{StaticResource PressedOff}" x:Name="PressedOff_BeginStoryboard"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_36" Storyboard="{StaticResource PressedOn}" x:Name="PressedOn_BeginStoryboard"/>
                            </Trigger.EnterActions>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Uid="Style_18" x:Key="ExpanderLeftHeaderStyle" TargetType="{x:Type ToggleButton}">
        <Setter x:Uid="Setter_90" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_18" TargetType="{x:Type ToggleButton}">
                    <ControlTemplate.Resources>
                        <Storyboard x:Uid="Storyboard_45" x:Key="HoverOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_45" BeginTime="00:00:00" Storyboard.TargetName="HoverRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_45" KeyTime="00:00:00.1000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_46" x:Key="HoverOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_46" BeginTime="00:00:00" Storyboard.TargetName="HoverRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_46" KeyTime="00:00:00.3000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_47" x:Key="PressedOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_47" BeginTime="00:00:00" Storyboard.TargetName="Rectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_47" KeyTime="00:00:00.1000000" Value="0.6"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_48" x:Key="PressedOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_48" BeginTime="00:00:00" Storyboard.TargetName="Rectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_48" KeyTime="00:00:00.3000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                    </ControlTemplate.Resources>
                    <Border x:Uid="Border_10" Padding="{TemplateBinding Padding}" CornerRadius="2,2,2,2" Background="#FFFFFFFF" BorderBrush="{DynamicResource NormalBorderBrush}" BorderThickness="1,1,1,1" x:Name="border">
                        <Grid x:Uid="Grid_15" SnapsToDevicePixels="False" Background="Transparent">
                            <Grid.RowDefinitions>
                                <RowDefinition x:Uid="RowDefinition_8" Height="21" />
                                <RowDefinition x:Uid="RowDefinition_9" Height="*" />
                            </Grid.RowDefinitions>
                            <Grid x:Uid="Grid_16">
                                <Grid.LayoutTransform>
                                    <TransformGroup x:Uid="TransformGroup_5">
                                        <TransformGroup.Children>
                                            <TransformCollection x:Uid="TransformCollection_4">
                                                <RotateTransform x:Uid="RotateTransform_6" Angle="90" />
                                            </TransformCollection>
                                        </TransformGroup.Children>
                                    </TransformGroup>
                                </Grid.LayoutTransform>
                                <Rectangle x:Uid="Rectangle_14" Margin="3,3,3,3" x:Name="Rectangle" Fill="{DynamicResource NormalBrush}" Stroke="{DynamicResource NormalBorderBrush}" StrokeThickness="1" RadiusX="2" RadiusY="2" />
                                <Rectangle x:Uid="Rectangle_15" Margin="3,3,3,3" x:Name="HoverRectangle" Fill="{DynamicResource HoverBrush}" Stroke="{DynamicResource NormalBorderBrush}" StrokeThickness="1" RadiusX="2" RadiusY="2" Opacity="0" />
                                <Path x:Uid="Path_5" HorizontalAlignment="Center" x:Name="Up_Arrow" VerticalAlignment="Center" Fill="{DynamicResource GlyphBrush}" Data="M 0 0 L 4 4 L 8 0 Z" />
                                <Path x:Uid="Path_6" Visibility="Collapsed" HorizontalAlignment="Center" x:Name="Down_Arrow" VerticalAlignment="Center" Fill="{DynamicResource GlyphBrush}" Data="M 0 4 L 4 0 L 8 4 Z" />
                            </Grid>
                            <ContentPresenter x:Uid="ContentPresenter_7" SnapsToDevicePixels="True" HorizontalAlignment="Center" Margin="4,4,2,0" VerticalAlignment="Top" Grid.Row="1" RecognizesAccessKey="True">
                                <ContentPresenter.LayoutTransform>
                                    <TransformGroup x:Uid="TransformGroup_6">
                                        <TransformGroup.Children>
                                            <TransformCollection x:Uid="TransformCollection_5">
                                                <RotateTransform x:Uid="RotateTransform_7" Angle="90" />
                                            </TransformCollection>
                                        </TransformGroup.Children>
                                    </TransformGroup>
                                </ContentPresenter.LayoutTransform>
                            </ContentPresenter>
                        </Grid>
                    </Border>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_43" Property="IsEnabled" Value="False">
                            <Setter x:Uid="Setter_91" Property="Fill" TargetName="Rectangle" Value="{DynamicResource DisabledBackgroundBrush}"/>
                            <Setter x:Uid="Setter_92" Property="BorderBrush" TargetName="border" Value="{DynamicResource DisabledBorderBrush}"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_44" Property="IsChecked" Value="true">
                            <Setter x:Uid="Setter_93" Property="Visibility" TargetName="Up_Arrow" Value="Collapsed" />
                            <Setter x:Uid="Setter_94" Property="Visibility" TargetName="Down_Arrow" Value="Visible" />
                        </Trigger>
                        <Trigger x:Uid="Trigger_45" Property="IsMouseOver" Value="true">
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_37" Storyboard="{StaticResource HoverOff}" x:Name="HoverOff_BeginStoryboard"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_38" Storyboard="{StaticResource HoverOn}"/>
                            </Trigger.EnterActions>

                        </Trigger>
                        <Trigger x:Uid="Trigger_46" Property="IsPressed" Value="true">
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_39" Storyboard="{StaticResource PressedOff}" x:Name="PressedOff_BeginStoryboard"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_40" Storyboard="{StaticResource PressedOn}" x:Name="PressedOn_BeginStoryboard"/>
                            </Trigger.EnterActions>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Uid="Style_19" TargetType="{x:Type Expander}">
        <Setter x:Uid="Setter_95" Property="Background" Value="Transparent" />
        <Setter x:Uid="Setter_96" Property="HorizontalContentAlignment" Value="Stretch" />
        <Setter x:Uid="Setter_97" Property="VerticalContentAlignment" Value="Stretch" />
        <Setter x:Uid="Setter_98" Property="BorderBrush" Value="Transparent" />
        <Setter x:Uid="Setter_99" Property="BorderThickness" Value="1" />
        <Setter x:Uid="Setter_100" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_19" TargetType="{x:Type Expander}">
                    <Border x:Uid="Border_11" SnapsToDevicePixels="true" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="1,1,1,1" CornerRadius="3">
                        <DockPanel x:Uid="DockPanel_1">
                            <ToggleButton x:Uid="HeaderSite" FontFamily="{TemplateBinding FontFamily}" FontSize="{TemplateBinding FontSize}" FontStretch="{TemplateBinding FontStretch}" FontStyle="{TemplateBinding FontStyle}" FontWeight="{TemplateBinding FontWeight}" Foreground="{TemplateBinding Foreground}" HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" Padding="{TemplateBinding Padding}" VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" FocusVisualStyle="{StaticResource ExpanderHeaderFocusVisual}" Margin="1,1,1,0" MinHeight="0" MinWidth="0" x:Name="HeaderSite" Style="{StaticResource ExpanderDownHeaderStyle}" Content="{TemplateBinding Header}" ContentTemplate="{TemplateBinding HeaderTemplate}" ContentTemplateSelector="{TemplateBinding HeaderTemplateSelector}" IsChecked="{Binding Path=IsExpanded, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" DockPanel.Dock="Top" />
                            <Grid x:Uid="Grid_17" Visibility="Collapsed" x:Name="grid">
                                <Border x:Uid="Border_12" Background="{DynamicResource ShadeBrush}" BorderBrush="{DynamicResource NormalBorderBrush}" BorderThickness="1,0,1,1" CornerRadius="3,3,3,3" x:Name="border" Margin="0,0,0,0"/>
                                <ContentPresenter x:Uid="ExpandSite" Focusable="false" HorizontalAlignment="Left" Margin="1,1,1,1" x:Name="ExpandSite" VerticalAlignment="Top" DockPanel.Dock="Bottom" />
                            </Grid>
                        </DockPanel>
                    </Border>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_47" Property="IsExpanded" Value="true">
                            <Setter x:Uid="Setter_101" Property="Visibility" TargetName="grid" Value="Visible"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_48" Property="ExpandDirection" Value="Down" >
                            <Setter x:Uid="Setter_102" Property="Margin" TargetName="grid" Value="1,0,1,0"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_49" Property="ExpandDirection" Value="Right">
                            <Setter x:Uid="Setter_103" Property="DockPanel.Dock" TargetName="ExpandSite" Value="Right" />
                            <Setter x:Uid="Setter_104" Property="DockPanel.Dock" TargetName="HeaderSite" Value="Left" />
                            <Setter x:Uid="Setter_105" Property="Style" TargetName="HeaderSite" Value="{StaticResource ExpanderRightHeaderStyle}" />
                            <Setter x:Uid="Setter_106" Property="Background" TargetName="border" Value="{DynamicResource ShadeBrushRight}"/>
                            <Setter x:Uid="Setter_107" Property="Margin" TargetName="grid" Value="0,1,0,1"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_50" Property="ExpandDirection" Value="Up">
                            <Setter x:Uid="Setter_108" Property="DockPanel.Dock" TargetName="ExpandSite" Value="Top" />
                            <Setter x:Uid="Setter_109" Property="DockPanel.Dock" TargetName="HeaderSite" Value="Bottom" />
                            <Setter x:Uid="Setter_110" Property="Style" TargetName="HeaderSite" Value="{StaticResource ExpanderUpHeaderStyle}" />
                            <Setter x:Uid="Setter_111" Property="Background" TargetName="border" Value="{DynamicResource ShadeBrushBottom}"/>
                            <Setter x:Uid="Setter_112" Property="Margin" TargetName="grid" Value="1,0,1,0"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_51" Property="ExpandDirection" Value="Left">
                            <Setter x:Uid="Setter_113" Property="DockPanel.Dock" TargetName="ExpandSite" Value="Left" />
                            <Setter x:Uid="Setter_114" Property="DockPanel.Dock" TargetName="HeaderSite" Value="Right" />
                            <Setter x:Uid="Setter_115" Property="Style" TargetName="HeaderSite" Value="{StaticResource ExpanderLeftHeaderStyle}" />
                            <Setter x:Uid="Setter_116" Property="Background" TargetName="border" Value="{DynamicResource ShadeBrushLeft}"/>
                            <Setter x:Uid="Setter_117" Property="Margin" TargetName="grid" Value="0,1,0,1"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_52" Property="IsEnabled" Value="false">
                            <Setter x:Uid="Setter_118" Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}" />
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <ControlTemplate x:Uid="ControlTemplate_20" x:Key="ComboBoxToggleButton" TargetType="{x:Type ToggleButton}">
        <ControlTemplate.Resources>
            <Storyboard x:Uid="Storyboard_49" x:Key="HoverOn">
                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_49" BeginTime="00:00:00" Storyboard.TargetName="HoverRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_49" KeyTime="00:00:00.1000000" Value="1"/>
                </DoubleAnimationUsingKeyFrames>
            </Storyboard>
            <Storyboard x:Uid="Storyboard_50" x:Key="HoverOff">
                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_50" BeginTime="00:00:00" Storyboard.TargetName="HoverRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_50" KeyTime="00:00:00.3000000" Value="0"/>
                </DoubleAnimationUsingKeyFrames>
            </Storyboard>
            <Storyboard x:Uid="Storyboard_51" x:Key="PressedOn">
                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_51" BeginTime="00:00:00" Storyboard.TargetName="Rectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_51" KeyTime="00:00:00.1000000" Value="0.6"/>
                </DoubleAnimationUsingKeyFrames>
            </Storyboard>
            <Storyboard x:Uid="Storyboard_52" x:Key="PressedOff">
                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_52" BeginTime="00:00:00" Storyboard.TargetName="Rectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_52" KeyTime="00:00:00.3000000" Value="1"/>
                </DoubleAnimationUsingKeyFrames>
            </Storyboard>
        </ControlTemplate.Resources>
        <Grid x:Uid="Grid_18">
            <Grid.ColumnDefinitions>
                <ColumnDefinition x:Uid="ColumnDefinition_7"/>
                <ColumnDefinition x:Uid="ColumnDefinition_8" Width="20"/>
            </Grid.ColumnDefinitions>
            <Rectangle x:Uid="Rectangle_16" Grid.ColumnSpan="2" HorizontalAlignment="Stretch" x:Name="Rectangle" VerticalAlignment="Stretch" Width="Auto" Height="Auto" RadiusX="3" RadiusY="3" Fill="{DynamicResource NormalBrush}" Stroke="{DynamicResource NormalBorderBrush}" StrokeThickness="2"/>
            <Rectangle x:Uid="Rectangle_17" HorizontalAlignment="Stretch" x:Name="HoverRectangle" VerticalAlignment="Stretch" Width="Auto" Height="Auto" RadiusX="3" RadiusY="3" Fill="{DynamicResource HoverBrush}" Stroke="{x:Null}" StrokeThickness="2" Grid.ColumnSpan="2" Opacity="0" Grid.Column="1" Margin="0,2,2,2"/>
            <Rectangle x:Uid="Rectangle_18" Grid.Column="0" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="Auto" Height="Auto" RadiusX="2" RadiusY="2" Stroke="{x:Null}" Margin="2,2,0,2">
                <Rectangle.Fill>
                    <SolidColorBrush x:Uid="SolidColorBrush_8" Color="{DynamicResource WhiteColor}"/>
                </Rectangle.Fill>
            </Rectangle>
            <Path x:Uid="Arrow" Grid.Column="1" HorizontalAlignment="Center" x:Name="Arrow" VerticalAlignment="Center" Fill="{DynamicResource GlyphBrush}" Data="M 0 0 L 4 4 L 8 0 Z" d:LayoutOverrides="Width, Height" Margin="-2,2,0,0"/>
        </Grid>
        <ControlTemplate.Triggers>
            <Trigger x:Uid="Trigger_53" Property="IsMouseOver" Value="true">
                <Trigger.ExitActions>
                    <BeginStoryboard x:Uid="BeginStoryboard_41" Storyboard="{StaticResource HoverOff}" x:Name="HoverOff_BeginStoryboard"/>
                </Trigger.ExitActions>
                <Trigger.EnterActions>
                    <BeginStoryboard x:Uid="BeginStoryboard_42" Storyboard="{StaticResource HoverOn}"/>
                </Trigger.EnterActions>
            </Trigger>
            <Trigger x:Uid="Trigger_54" Property="IsChecked" Value="true">
                <Trigger.ExitActions>
                    <BeginStoryboard x:Uid="BeginStoryboard_43" Storyboard="{StaticResource PressedOff}" x:Name="PressedOff_BeginStoryboard"/>
                </Trigger.ExitActions>
                <Trigger.EnterActions>
                    <BeginStoryboard x:Uid="BeginStoryboard_44" Storyboard="{StaticResource PressedOn}" x:Name="PressedOn_BeginStoryboard"/>
                </Trigger.EnterActions>
            </Trigger>
            <Trigger x:Uid="Trigger_55" Property="IsEnabled" Value="False">
                <Setter x:Uid="Setter_119" Property="Fill" Value="{DynamicResource DisabledBackgroundBrush}" TargetName="Rectangle"/>
                <Setter x:Uid="Setter_120" Property="Stroke" Value="{DynamicResource DisabledBorderBrush}" TargetName="Rectangle"/>
                <Setter x:Uid="Setter_121" Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}"/>
                <Setter x:Uid="Setter_122" Property="Fill" Value="{DynamicResource DisabledForegroundBrush}" TargetName="Arrow"/>
            </Trigger>
        </ControlTemplate.Triggers>
    </ControlTemplate>


    <ControlTemplate x:Uid="ControlTemplate_21" x:Key="ComboBoxTextBox" TargetType="{x:Type TextBox}">
        <Border x:Uid="PART_ContentHost" x:Name="PART_ContentHost" Focusable="False" Background="{TemplateBinding Background}"/>
    </ControlTemplate>


    <Style x:Uid="Style_20" TargetType="{x:Type ComboBox}">
        <Setter x:Uid="Setter_123" Property="SnapsToDevicePixels" Value="true"/>
<Setter x:Uid="Setter_124" Property="Template" Value="{DynamicResource ComboBoxTemplate}" />
    </Style>

    <ControlTemplate x:Uid="ControlTemplate_22" x:Key="ComboBoxTemplate" TargetType="{x:Type ComboBox}">
                    <Grid x:Uid="Grid_19">
                        <ToggleButton x:Uid="ToggleButton" Grid.Column="2" Template="{DynamicResource ComboBoxToggleButton}" x:Name="ToggleButton" Focusable="false" IsChecked="{Binding Path=IsDropDownOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" ClickMode="Press"/>
                        <ContentPresenter x:Uid="ContentSite" HorizontalAlignment="Left" Margin="3,3,23,3" x:Name="ContentSite" VerticalAlignment="Center" Content="{TemplateBinding SelectionBoxItem}" ContentTemplate="{TemplateBinding SelectionBoxItemTemplate}" ContentTemplateSelector="{TemplateBinding ItemTemplateSelector}" IsHitTestVisible="False"/>

                        <TextBox x:Uid="PART_EditableTextBox" Visibility="Hidden" Template="{DynamicResource ComboBoxTextBox}" HorizontalAlignment="Left" Margin="3,3,23,3" x:Name="PART_EditableTextBox" Style="{x:Null}" VerticalAlignment="Center" Focusable="True" Background="Transparent" IsReadOnly="{TemplateBinding IsReadOnly}"/>

                        <Popup x:Uid="Popup" IsOpen="{TemplateBinding IsDropDownOpen}" Placement="Bottom" x:Name="Popup" Focusable="False" AllowsTransparency="True" PopupAnimation="Slide">
                            <Grid x:Uid="DropDown" MaxHeight="{TemplateBinding MaxDropDownHeight}" MinWidth="{TemplateBinding ActualWidth}" x:Name="DropDown" SnapsToDevicePixels="True">
                                <Border x:Uid="DropDownBorder" x:Name="DropDownBorder" Background="{DynamicResource ShadeBrush}" BorderBrush="{DynamicResource SolidBorderBrush}" BorderThickness="1"/>
                                <ScrollViewer x:Uid="ScrollViewer_2" Margin="4,6,4,6"   SnapsToDevicePixels="True" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto" CanContentScroll="True">

                                    <StackPanel x:Uid="StackPanel_2" IsItemsHost="True" KeyboardNavigation.DirectionalNavigation="Contained"/>

                                </ScrollViewer>
                            </Grid>
                        </Popup>
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_56" Property="HasItems" Value="false">
                            <Setter x:Uid="Setter_125" Property="MinHeight" Value="95" TargetName="DropDownBorder"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_57" Property="IsEnabled" Value="false">
                            <Setter x:Uid="Setter_126" Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_58" Property="IsGrouping" Value="true">
                            <Setter x:Uid="Setter_127" Property="ScrollViewer.CanContentScroll" Value="false"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_59" Property="AllowsTransparency" SourceName="Popup" Value="true">
                            <Setter x:Uid="Setter_128" Property="Margin" Value="0,0,0,0" TargetName="DropDownBorder"/>
                            <Setter x:Uid="Setter_129" Property="CornerRadius" TargetName="DropDownBorder" Value="3,3,3,3"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_60" Property="IsEditable" Value="true">
                            <Setter x:Uid="Setter_130" Property="IsTabStop" Value="false"/>
                            <Setter x:Uid="Setter_131" Property="Visibility" Value="Visible" TargetName="PART_EditableTextBox"/>
                            <Setter x:Uid="Setter_132" Property="Visibility" Value="Hidden" TargetName="ContentSite"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
    
    <Style x:Uid="Style_21" d:IsControlPart="True" TargetType="{x:Type ComboBoxItem}">
        <Setter x:Uid="Setter_133" Property="SnapsToDevicePixels" Value="true"/>
        <Setter x:Uid="Setter_134" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_23" TargetType="{x:Type ComboBoxItem}">
                    <ControlTemplate.Resources>
                        <Storyboard x:Uid="Storyboard_53" x:Key="SelectedOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_53" BeginTime="00:00:00" Storyboard.TargetName="SelectedBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_53" KeyTime="00:00:00.1000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_54" x:Key="SelectedOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_54" BeginTime="00:00:00" Storyboard.TargetName="SelectedBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_54" KeyTime="00:00:00.3000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_55" x:Key="HoverOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_55" BeginTime="00:00:00" Storyboard.TargetName="HoverBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_55" KeyTime="00:00:00.1000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_56" x:Key="HoverOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_56" BeginTime="00:00:00" Storyboard.TargetName="HoverBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_56" KeyTime="00:00:00.3000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                    </ControlTemplate.Resources>
                    <Grid x:Uid="Grid_20" SnapsToDevicePixels="true" Margin="0,1,0,1">
                        <Border x:Uid="Border_13" x:Name="Border" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}"/>
                        <Border x:Uid="SelectedBorder" x:Name="SelectedBorder" Background="{DynamicResource NormalBrush}" BorderThickness="{TemplateBinding BorderThickness}" Opacity="0"/>
                        <Border x:Uid="HoverBorder" x:Name="HoverBorder" Background="{DynamicResource HoverBrush}" BorderThickness="{TemplateBinding BorderThickness}" Opacity="0"/>
                        <ContentPresenter x:Uid="ContentPresenter_8" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" Margin="5,2,0,2"/>
                    </Grid>
                    <ControlTemplate.Triggers>

                        <Trigger x:Uid="Trigger_61" Property="IsMouseOver" Value="True">
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_45" Storyboard="{StaticResource HoverOff}" x:Name="HoverOff_BeginStoryboard"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="HoverOn_BeginStoryboard" Storyboard="{StaticResource HoverOn}" x:Name="HoverOn_BeginStoryboard"/>
                            </Trigger.EnterActions>
                        </Trigger>

                        <Trigger x:Uid="Trigger_62" Property="IsHighlighted" Value="true">
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="SelectedOff_BeginStoryboard" Storyboard="{StaticResource SelectedOff}" x:Name="SelectedOff_BeginStoryboard"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="SelectedOn_BeginStoryboard" Storyboard="{StaticResource SelectedOn}" x:Name="SelectedOn_BeginStoryboard"/>
                            </Trigger.EnterActions>
                        </Trigger>

                        <Trigger x:Uid="Trigger_63" Property="IsEnabled" Value="false">
                            <Setter x:Uid="Setter_135" Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter x:Uid="Setter_136" Property="Background" Value="{DynamicResource SelectedBackgroundBrush}"/>
        <Setter x:Uid="Setter_137" Property="Foreground" Value="{DynamicResource TextBrush}"/>
    </Style>

    <Style x:Uid="Style_22" TargetType="{x:Type ProgressBar}">
        <Setter x:Uid="Setter_138" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_24" TargetType="{x:Type ProgressBar}">
                    <ControlTemplate.Resources>
                        <Storyboard x:Uid="Storyboard_57" x:Key="IndeterminateOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_57" Storyboard.TargetName="IndeterminateGradientFill"
                                                   Storyboard.TargetProperty="(Shape.Fill).(LinearGradientBrush.Transform).(TransformGroup.Children)[0].X" RepeatBehavior="Forever">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_57" KeyTime="0"
                                            Value="0"/>
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_58" KeyTime="00:00:.5"
                                            Value="20"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                    </ControlTemplate.Resources>
                    <Grid x:Uid="Grid_21">

                        <Border x:Uid="Border_14" x:Name="PART_Track" Background="{DynamicResource ShadeBrush}" BorderBrush="{DynamicResource DisabledBackgroundBrush}" BorderThickness="2,2,2,2" CornerRadius="6,6,6,6"/>

                        <Border x:Uid="PART_Indicator" HorizontalAlignment="Left" x:Name="PART_Indicator" Background="{DynamicResource NormalBrush}" BorderBrush="{x:Null}" BorderThickness="1" CornerRadius="7,7,7,7"/>
                        <Grid x:Uid="IndeterminateRoot" x:Name="IndeterminateRoot" Visibility="Collapsed">
                            <Rectangle x:Uid="IndeterminateGradientFill" Margin="1,1,1,1"	x:Name="IndeterminateGradientFill" Opacity="0.7" RadiusX="5" RadiusY="5" StrokeThickness="0">
                                <Rectangle.Fill>
                                    <LinearGradientBrush x:Uid="LinearGradientBrush_20" EndPoint="0,1" StartPoint="20,1" MappingMode="Absolute" SpreadMethod="Repeat">
                                        <LinearGradientBrush.Transform>
                                            <TransformGroup x:Uid="TransformGroup_7">
                                                <TranslateTransform x:Uid="TranslateTransform_2" X="0"/>
                                                <SkewTransform x:Uid="SkewTransform_2" AngleX="-30"/>
                                            </TransformGroup>
                                        </LinearGradientBrush.Transform>
                                        <GradientStop x:Uid="GradientStop_59" Color="#FFFFFFFF" Offset="0"/>
                                        <GradientStop x:Uid="GradientStop_60" Color="#00FFFFFF" Offset=".25"/>
                                        <GradientStop x:Uid="GradientStop_61" Color="#FFFFFFFF" Offset="0.85"/>
                                    </LinearGradientBrush>
                                </Rectangle.Fill>
                                <Rectangle.OpacityMask>
                                    <LinearGradientBrush x:Uid="LinearGradientBrush_21" EndPoint="0.004,0.465" StartPoint="0.997,0.422">
                                        <GradientStop x:Uid="GradientStop_62" Color="#00FFFFFF"/>
                                        <GradientStop x:Uid="GradientStop_63" Color="#00FFFFFF" Offset="1"/>
                                        <GradientStop x:Uid="GradientStop_64" Color="#FFFFFFFF" Offset="0.486"/>
                                    </LinearGradientBrush>
                                </Rectangle.OpacityMask>
                            </Rectangle>
                        </Grid>
                        <Border x:Uid="DisabledBorder" x:Name="DisabledBorder" Background="{DynamicResource DisabledBackgroundBrush}" BorderBrush="{DynamicResource DisabledBackgroundBrush}" BorderThickness="2,2,2,2" CornerRadius="6,6,6,6" Opacity="0"/>
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_64" Property="IsEnabled" Value="False">
                            <Setter x:Uid="Setter_139" Property="Opacity" TargetName="DisabledBorder" Value="0.8"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_65" Property="IsIndeterminate" Value="True">
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_46" Storyboard="{StaticResource IndeterminateOn}"/>
                            </Trigger.EnterActions>
                            <Setter x:Uid="Setter_140" Property="Visibility" TargetName="IndeterminateRoot" Value="Visible"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Uid="Style_23" TargetType="{x:Type TextBox}">
        <Setter x:Uid="Setter_141" Property="KeyboardNavigation.TabNavigation" Value="None"/>
        <Setter x:Uid="Setter_142" Property="FocusVisualStyle" Value="{x:Null}"/>
        <Setter x:Uid="Setter_143" Property="AllowDrop" Value="true"/>
<Setter x:Uid="Setter_144" Property="Template" Value="{DynamicResource TextBoxTemplate}" />
        <Setter x:Uid="Setter_145" Property="BorderBrush" Value="{DynamicResource NormalBorderBrush}"/>
        <Setter x:Uid="Setter_146" Property="Background" Value="{DynamicResource ShadeBrush}"/>
    </Style>
    
     <ControlTemplate x:Uid="ControlTemplate_25" x:Key="TextBoxTemplate" TargetType="{x:Type TextBox}">
                    <ControlTemplate.Resources>
                        <Storyboard x:Uid="Storyboard_58" x:Key="HoverOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_58" BeginTime="00:00:00"
                                                   Storyboard.TargetName="HoverBorder"
                                                   Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_59" KeyTime="00:00:00.1000000"
									Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_59" x:Key="HoverOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_59" BeginTime="00:00:00"
                                                   Storyboard.TargetName="HoverBorder"
                                                   Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_60" KeyTime="00:00:00.3000000"
									Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_60" x:Key="FocusedOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_60" BeginTime="00:00:00" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_61" KeyTime="00:00:00.1000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_61" x:Key="FocusedOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_61" BeginTime="00:00:00" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_62" KeyTime="00:00:00.3000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                    </ControlTemplate.Resources>
                    <Grid x:Uid="Grid_22">
                        <Border x:Uid="Border_15" x:Name="Border" Opacity="1" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="2,2,2,2">
                            <Grid x:Uid="Grid_23">
                                <Border x:Uid="Border_16" BorderThickness="1" CornerRadius="1,1,1,1">
                                    <Border.BorderBrush>
                                        <SolidColorBrush x:Uid="MouseOverColor" Color="Transparent"
                                     x:Name="MouseOverColor"/>
                                    </Border.BorderBrush>
                                    <ScrollViewer x:Uid="ScrollViewer_3" Margin="0" x:Name="PART_ContentHost"   Background="{TemplateBinding Background}"/>
                                </Border>
                            </Grid>
                        </Border>
                        <Border x:Uid="Border_17" x:Name="HoverBorder" Opacity="0" BorderBrush="{StaticResource NormalBrush}" BorderThickness="2,2,2,2" CornerRadius="2,2,2,2"/>
                        <Border x:Uid="Border_18" x:Name="DisabledVisualElement" IsHitTestVisible="False" Opacity="0" Background="#FFFFFFFF" BorderBrush="#A5F7F7F7" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="2,2,2,2"/>
                        <Border x:Uid="Border_19" x:Name="FocusVisualElement" IsHitTestVisible="False" Opacity="0" BorderBrush="{StaticResource NormalBrush}" BorderThickness="2.1,2.1,2.1,2.1" CornerRadius="0.2,0.2,0.2,0.2"/>
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_66" Property="IsFocused" Value="True">
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_47" Storyboard="{StaticResource FocusedOff}" x:Name="FocusedOff_BeginStoryboard"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="FocusedOn_BeginStoryboard" Storyboard="{StaticResource FocusedOn}" x:Name="FocusedOn_BeginStoryboard"/>
                            </Trigger.EnterActions>
                        </Trigger>
                        <MultiTrigger x:Uid="MultiTrigger_3">
                            <MultiTrigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_48" Storyboard="{StaticResource HoverOff}" x:Name="HoverOff_BeginStoryboard"/>
                            </MultiTrigger.ExitActions>
                            <MultiTrigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_49" Storyboard="{StaticResource HoverOn}"/>
                            </MultiTrigger.EnterActions>
                            <MultiTrigger.Conditions>
                                <Condition x:Uid="Condition_5" Property="IsMouseOver" Value="True"/>
                                <Condition x:Uid="Condition_6" Property="IsFocused" Value="False"/>
                            </MultiTrigger.Conditions>
                        </MultiTrigger>
                        <Trigger x:Uid="Trigger_67" Property="IsEnabled" Value="False">
                            <Setter x:Uid="Setter_147" Property="Background" Value="{DynamicResource DisabledBackgroundBrush}" TargetName="Border"/>
                            <Setter x:Uid="Setter_148" Property="BorderBrush" Value="{DynamicResource DisabledBackgroundBrush}" TargetName="Border"/>
                            <Setter x:Uid="Setter_149" Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>

    <Style x:Uid="Style_24" TargetType="{x:Type PasswordBox}">
        <Setter x:Uid="Setter_150" Property="KeyboardNavigation.TabNavigation" Value="None"/>
        <Setter x:Uid="Setter_151" Property="FocusVisualStyle" Value="{x:Null}"/>
        <Setter x:Uid="Setter_152" Property="AllowDrop" Value="true"/>
        <Setter x:Uid="Setter_153" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_26" TargetType="{x:Type PasswordBox}">
                    <ControlTemplate.Resources>
                        <Storyboard x:Uid="Storyboard_62" x:Key="HoverOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_62" BeginTime="00:00:00"
                                                   Storyboard.TargetName="HoverBorder"
                                                   Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_63" KeyTime="00:00:00.1000000"
									Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_63" x:Key="HoverOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_63" BeginTime="00:00:00"
                                                   Storyboard.TargetName="HoverBorder"
                                                   Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_64" KeyTime="00:00:00.3000000"
									Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_64" x:Key="FocusedOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_64" BeginTime="00:00:00" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_65" KeyTime="00:00:00.1000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_65" x:Key="FocusedOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_65" BeginTime="00:00:00" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_66" KeyTime="00:00:00.3000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                    </ControlTemplate.Resources>
                    <Grid x:Uid="Grid_24">
                        <Border x:Uid="Border_20" x:Name="Border" Opacity="1" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="2,2,2,2">
                            <Grid x:Uid="Grid_25">
                                <Border x:Uid="Border_21" BorderThickness="1" CornerRadius="1,1,1,1">
                                    <Border.BorderBrush>
                                        <SolidColorBrush x:Uid="SolidColorBrush_9" Color="Transparent"
                                     x:Name="MouseOverColor"/>
                                    </Border.BorderBrush>
                                    <ScrollViewer x:Uid="ScrollViewer_4" Margin="0" x:Name="PART_ContentHost"   Background="{TemplateBinding Background}"/>
                                </Border>
                            </Grid>
                        </Border>
                        <Border x:Uid="Border_22" x:Name="HoverBorder" Opacity="0" BorderBrush="{StaticResource NormalBrush}" BorderThickness="2,2,2,2" CornerRadius="2,2,2,2"/>
                        <Border x:Uid="Border_23" x:Name="DisabledVisualElement" IsHitTestVisible="False" Opacity="0" Background="#FFFFFFFF" BorderBrush="#A5F7F7F7" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="2,2,2,2"/>
                        <Border x:Uid="Border_24" x:Name="FocusVisualElement" IsHitTestVisible="False" Opacity="0" BorderBrush="{StaticResource NormalBrush}" BorderThickness="2.1,2.1,2.1,2.1" CornerRadius="0.2,0.2,0.2,0.2"/>
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_68" Property="IsFocused" Value="True">
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_50" Storyboard="{StaticResource FocusedOff}" x:Name="FocusedOff_BeginStoryboard"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_51" Storyboard="{StaticResource FocusedOn}" x:Name="FocusedOn_BeginStoryboard"/>
                            </Trigger.EnterActions>
                        </Trigger>
                        <MultiTrigger x:Uid="MultiTrigger_4">
                            <MultiTrigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_52" Storyboard="{StaticResource HoverOff}" x:Name="HoverOff_BeginStoryboard"/>
                            </MultiTrigger.ExitActions>
                            <MultiTrigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_53" Storyboard="{StaticResource HoverOn}"/>
                            </MultiTrigger.EnterActions>
                            <MultiTrigger.Conditions>
                                <Condition x:Uid="Condition_7" Property="IsMouseOver" Value="True"/>
                                <Condition x:Uid="Condition_8" Property="IsFocused" Value="False"/>
                            </MultiTrigger.Conditions>
                        </MultiTrigger>
                        <Trigger x:Uid="Trigger_69" Property="IsEnabled" Value="False">
                            <Setter x:Uid="Setter_154" Property="Background" Value="{DynamicResource DisabledBackgroundBrush}" TargetName="Border"/>
                            <Setter x:Uid="Setter_155" Property="BorderBrush" Value="{DynamicResource DisabledBackgroundBrush}" TargetName="Border"/>
                            <Setter x:Uid="Setter_156" Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter x:Uid="Setter_157" Property="BorderBrush" Value="{DynamicResource NormalBorderBrush}"/>
        <Setter x:Uid="Setter_158" Property="Background" Value="{DynamicResource ShadeBrush}"/>
    </Style>

    <Style x:Uid="Style_25" TargetType="{x:Type RichTextBox}">
        <Setter x:Uid="Setter_159" Property="KeyboardNavigation.TabNavigation" Value="None"/>
        <Setter x:Uid="Setter_160" Property="FocusVisualStyle" Value="{x:Null}"/>
        <Setter x:Uid="Setter_161" Property="AllowDrop" Value="true"/>
        <Setter x:Uid="Setter_162" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_27" TargetType="{x:Type RichTextBox}">
                    <ControlTemplate.Resources>
                        <Storyboard x:Uid="Storyboard_66" x:Key="HoverOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_66" BeginTime="00:00:00"
                                                   Storyboard.TargetName="HoverBorder"
                                                   Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_67" KeyTime="00:00:00.1000000"
									Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_67" x:Key="HoverOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_67" BeginTime="00:00:00"
                                                   Storyboard.TargetName="HoverBorder"
                                                   Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_68" KeyTime="00:00:00.3000000"
									Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_68" x:Key="FocusedOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_68" BeginTime="00:00:00" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_69" KeyTime="00:00:00.1000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_69" x:Key="FocusedOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_69" BeginTime="00:00:00" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_70" KeyTime="00:00:00.3000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                    </ControlTemplate.Resources>
                    <Grid x:Uid="Grid_26">
                        <Border x:Uid="Border_25" x:Name="Border" Opacity="1" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="2,2,2,2">
                            <Grid x:Uid="Grid_27">
                                <Border x:Uid="Border_26" BorderThickness="1" CornerRadius="1,1,1,1">
                                    <Border.BorderBrush>
                                        <SolidColorBrush x:Uid="SolidColorBrush_10" Color="Transparent"
                                     x:Name="MouseOverColor"/>
                                    </Border.BorderBrush>
                                    <ScrollViewer x:Uid="ScrollViewer_5" Margin="0" x:Name="PART_ContentHost"   Background="{TemplateBinding Background}"/>
                                </Border>
                            </Grid>
                        </Border>
                        <Border x:Uid="Border_27" x:Name="HoverBorder" Opacity="0" BorderBrush="{StaticResource NormalBrush}" BorderThickness="2,2,2,2" CornerRadius="2,2,2,2"/>
                        <Border x:Uid="Border_28" x:Name="DisabledVisualElement" IsHitTestVisible="False" Opacity="0" Background="#FFFFFFFF" BorderBrush="#A5F7F7F7" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="2,2,2,2"/>
                        <Border x:Uid="Border_29" x:Name="FocusVisualElement" IsHitTestVisible="False" Opacity="0" BorderBrush="{StaticResource NormalBrush}" BorderThickness="2.1,2.1,2.1,2.1" CornerRadius="0.2,0.2,0.2,0.2"/>
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_70" Property="IsFocused" Value="True">
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_54" Storyboard="{StaticResource FocusedOff}" x:Name="FocusedOff_BeginStoryboard"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_55" Storyboard="{StaticResource FocusedOn}" x:Name="FocusedOn_BeginStoryboard"/>
                            </Trigger.EnterActions>
                        </Trigger>
                        <MultiTrigger x:Uid="MultiTrigger_5">
                            <MultiTrigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_56" Storyboard="{StaticResource HoverOff}" x:Name="HoverOff_BeginStoryboard"/>
                            </MultiTrigger.ExitActions>
                            <MultiTrigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_57" Storyboard="{StaticResource HoverOn}"/>
                            </MultiTrigger.EnterActions>
                            <MultiTrigger.Conditions>
                                <Condition x:Uid="Condition_9" Property="IsMouseOver" Value="True"/>
                                <Condition x:Uid="Condition_10" Property="IsFocused" Value="False"/>
                            </MultiTrigger.Conditions>
                        </MultiTrigger>
                        <Trigger x:Uid="Trigger_71" Property="IsEnabled" Value="False">
                            <Setter x:Uid="Setter_163" Property="Background" Value="{DynamicResource DisabledBackgroundBrush}" TargetName="Border"/>
                            <Setter x:Uid="Setter_164" Property="BorderBrush" Value="{DynamicResource DisabledBackgroundBrush}" TargetName="Border"/>
                            <Setter x:Uid="Setter_165" Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter x:Uid="Setter_166" Property="BorderBrush" Value="{DynamicResource NormalBorderBrush}"/>
        <Setter x:Uid="Setter_167" Property="Background" Value="{DynamicResource ShadeBrush}"/>
    </Style>

    <Style x:Uid="Style_26" TargetType="{x:Type Label}">
        <Setter x:Uid="Setter_168" Property="Foreground" Value="Black"/>
        <Setter x:Uid="Setter_169" Property="HorizontalContentAlignment" Value="Left"/>
        <Setter x:Uid="Setter_170" Property="VerticalContentAlignment" Value="Top"/>
        <Setter x:Uid="Setter_171" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_28" TargetType="{x:Type Label}">
                    <Grid x:Uid="Grid_28">
                        <ContentPresenter  x:Uid="ContentPresenter_9" RecognizesAccessKey="True"/>
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_72" Property="IsEnabled" Value="false"/>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Uid="Style_27" TargetType="{x:Type Menu}">
        <Setter x:Uid="Setter_172" Property="Background" Value="{DynamicResource WindowBackgroundBrush}"/>
        <Setter x:Uid="Setter_173" Property="BorderBrush" Value="{DynamicResource NormalBorderBrush}"/>
        <Setter x:Uid="Setter_174" Property="SnapsToDevicePixels" Value="True"/>
        <Setter x:Uid="Setter_175" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_29" TargetType="{x:Type Menu}">
                    <Grid x:Uid="Grid_29">
                        <Border x:Uid="Border_30" Margin="1" x:Name="Border" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}"/>
                        <StackPanel x:Uid="StackPanel_3" Background="{TemplateBinding Background}" IsItemsHost="True" ClipToBounds="True" Orientation="Horizontal"/>
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_73" Property="IsEnabled" Value="False">
                            <Setter x:Uid="Setter_176" Property="Background" Value="{DynamicResource DisabledBackgroundBrush}" TargetName="Border"/>
                            <Setter x:Uid="Setter_177" Property="BorderBrush" Value="{DynamicResource DisabledBorderBrush}" TargetName="Border"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <DropShadowBitmapEffect x:Uid="DropShadowBitmapEffect_1" x:Key="PopupDropShadow" ShadowDepth="1.5" Softness="0.15"/>

    <Style x:Uid="Style_28" TargetType="{x:Type MenuItem}">
        <Setter x:Uid="Setter_178" Property="HorizontalContentAlignment" Value="{Binding Path=HorizontalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}"/>
        <Setter x:Uid="Setter_179" Property="VerticalContentAlignment" Value="{Binding Path=VerticalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}"/>
        <Setter x:Uid="Setter_180" Property="Background" Value="Transparent"/>
        <Setter x:Uid="Setter_181" Property="Foreground" Value="{DynamicResource TextBrush}"/>
        <Setter x:Uid="Setter_182" Property="FontWeight" Value="Bold"/>
        <Setter x:Uid="Setter_183" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_30" TargetType="{x:Type MenuItem}">
                    <ControlTemplate.Resources>
                        <Storyboard x:Uid="Storyboard_70" x:Key="HighlightedOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_70" BeginTime="00:00:00" Storyboard.TargetName="border" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_71" KeyTime="00:00:00.1000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_71" x:Key="HighlightedOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_71" BeginTime="00:00:00" Storyboard.TargetName="border" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_72" KeyTime="00:00:00.3000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                    </ControlTemplate.Resources>
                    <Border x:Uid="Border_31" x:Name="Border" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}">
                        <Grid x:Uid="Grid_30">

                            <Grid.ColumnDefinitions>
                                <ColumnDefinition x:Uid="ColumnDefinition_9" MinWidth="17" Width="Auto" SharedSizeGroup="MenuItemIconColumnGroup"/>
                                <ColumnDefinition x:Uid="ColumnDefinition_10" Width="*"/>
                                <ColumnDefinition x:Uid="ColumnDefinition_11" Width="Auto" SharedSizeGroup="MenuItemIGTColumnGroup"/>
                                <ColumnDefinition x:Uid="ColumnDefinition_12" Width="14"/>
                            </Grid.ColumnDefinitions>

                            <Border x:Uid="Border_32" Grid.Column="0" Grid.ColumnSpan="4" Background="{DynamicResource NormalBrush}" Opacity="0" x:Name="border"/>

                            <ContentPresenter x:Uid="Icon" Margin="4,0,6,0" x:Name="Icon" VerticalAlignment="Center" ContentSource="Icon"/>

                            <Grid x:Uid="GlyphPanel" Visibility="Hidden" Margin="4,0,6,0" x:Name="GlyphPanel" VerticalAlignment="Center">
                                <Path x:Uid="GlyphPanelpath" x:Name="GlyphPanelpath" VerticalAlignment="Center" Fill="{TemplateBinding Foreground}" Data="M0,2 L0,4.8 L2.5,7.4 L7.1,2.8 L7.1,0 L2.5,4.6 z" FlowDirection="LeftToRight"/>
                            </Grid>

                            <ContentPresenter x:Uid="HeaderHost" Grid.Column="1" Margin="{TemplateBinding Padding}" x:Name="HeaderHost" RecognizesAccessKey="True" ContentSource="Header"/>

                            <Grid x:Uid="ArrowPanel" Grid.Column="3" Margin="4,0,6,0" x:Name="ArrowPanel" VerticalAlignment="Center">
                                <Path x:Uid="ArrowPanelPath" x:Name="ArrowPanelPath" VerticalAlignment="Center" Fill="{TemplateBinding Foreground}" Data="M0,0 L0,8 L4,4 z"/>
                            </Grid>

                            <Popup x:Uid="SubMenuPopup" IsOpen="{Binding Path=IsSubmenuOpen, RelativeSource={RelativeSource TemplatedParent}}" Placement="Right" x:Name="SubMenuPopup" Focusable="false" AllowsTransparency="true" PopupAnimation="{DynamicResource {x:Static SystemParameters.MenuPopupAnimationKey}}" VerticalOffset="-3">
                                <Grid x:Uid="SubMenu" x:Name="SubMenu">
                                    <Border x:Uid="SubMenuBorder" x:Name="SubMenuBorder" Background="{DynamicResource WindowBackgroundBrush}" BorderBrush="{DynamicResource SolidBorderBrush}" BorderThickness="1"/>

                                    <StackPanel x:Uid="StackPanel_4" IsItemsHost="True" KeyboardNavigation.DirectionalNavigation="Cycle"/>
                                </Grid>
                            </Popup>

                        </Grid>
                    </Border>

                    <ControlTemplate.Triggers>

                        <Trigger x:Uid="Trigger_74" Property="Role" Value="TopLevelHeader">
                            <Setter x:Uid="Setter_184" Property="Margin" Value="0,1,0,1"/>
                            <Setter x:Uid="Setter_185" Property="Padding" Value="6,3,6,3"/>
                            <Setter x:Uid="Setter_186" Property="Grid.IsSharedSizeScope" Value="true"/>
                            <Setter x:Uid="Setter_187" Property="Placement" Value="Bottom" TargetName="SubMenuPopup"/>
                            <Setter x:Uid="Setter_188" Property="Visibility" Value="Collapsed" TargetName="ArrowPanel"/>
                        </Trigger>

                        <Trigger x:Uid="Trigger_75" Property="Role" Value="TopLevelItem">
                            <Setter x:Uid="Setter_189" Property="Margin" Value="0,1,0,1"/>
                            <Setter x:Uid="Setter_190" Property="Padding" Value="6,3,6,3"/>
                            <Setter x:Uid="Setter_191" Property="Visibility" Value="Collapsed" TargetName="ArrowPanel"/>
                        </Trigger>

                        <Trigger x:Uid="Trigger_76" Property="Role" Value="SubmenuHeader">
                            <Setter x:Uid="Setter_192" Property="DockPanel.Dock" Value="Top"/>
                            <Setter x:Uid="Setter_193" Property="Padding" Value="0,2,0,2"/>
                            <Setter x:Uid="Setter_194" Property="Grid.IsSharedSizeScope" Value="true"/>
                        </Trigger>

                        <Trigger x:Uid="Trigger_77" Property="Role" Value="SubmenuItem">
                            <Setter x:Uid="Setter_195" Property="DockPanel.Dock" Value="Top"/>
                            <Setter x:Uid="Setter_196" Property="Padding" Value="0,2,0,2"/>
                            <Setter x:Uid="Setter_197" Property="Visibility" Value="Collapsed" TargetName="ArrowPanel"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_78" Property="IsSuspendingPopupAnimation" Value="true">
                            <Setter x:Uid="Setter_198" Property="PopupAnimation" Value="None" TargetName="SubMenuPopup"/>
                        </Trigger>

                        <Trigger x:Uid="Trigger_79" Property="Icon" Value="{x:Null}">
                            <Setter x:Uid="Setter_199" Property="Visibility" Value="Collapsed" TargetName="Icon"/>
                        </Trigger>

                        <Trigger x:Uid="Trigger_80" Property="IsChecked" Value="true">
                            <Setter x:Uid="Setter_200" Property="Visibility" Value="Visible" TargetName="GlyphPanel"/>
                            <Setter x:Uid="Setter_201" Property="Visibility" Value="Collapsed" TargetName="Icon"/>
                        </Trigger>

                        <Trigger x:Uid="Trigger_81" Property="AllowsTransparency" SourceName="SubMenuPopup" Value="true">
                            <Setter x:Uid="Setter_202" Property="Margin" Value="0,0,3,3" TargetName="SubMenu"/>
                            <Setter x:Uid="Setter_203" Property="SnapsToDevicePixels" Value="true" TargetName="SubMenu"/>
                            <Setter x:Uid="Setter_204" Property="BitmapEffect" Value="{DynamicResource PopupDropShadow}" TargetName="SubMenuBorder"/>
                        </Trigger>

                        <Trigger x:Uid="Trigger_82" Property="IsHighlighted" Value="true">
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="HighlightedOff_BeginStoryboard" Storyboard="{StaticResource HighlightedOff}" x:Name="HighlightedOff_BeginStoryboard"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_58" Storyboard="{StaticResource HighlightedOn}"/>
                            </Trigger.EnterActions>
                            <Setter x:Uid="Setter_205" Property="Foreground" Value="{DynamicResource {x:Static SystemColors.HighlightTextBrushKey}}"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_83" Property="IsEnabled" Value="false">
                            <Setter x:Uid="Setter_206" Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Uid="Style_29" TargetType="{x:Type Separator}">
        <Setter x:Uid="Setter_207" Property="Height" Value="1"/>
        <Setter x:Uid="Setter_208" Property="Margin" Value="0,2,0,2"/>
        <Setter x:Uid="Setter_209" Property="Focusable" Value="false"/>
        <Setter x:Uid="Setter_210" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_31" TargetType="{x:Type Separator}">
                    <Border x:Uid="Border_33" BorderBrush="{DynamicResource SolidBorderBrush}" BorderThickness="1"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Uid="Style_30" TargetType="{x:Type TabControl}">
        <Setter x:Uid="Setter_211" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_32" TargetType="{x:Type TabControl}">
                    <Grid x:Uid="Grid_31" ClipToBounds="true" SnapsToDevicePixels="true" KeyboardNavigation.TabNavigation="Local">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition x:Uid="ColumnDefinition0" x:Name="ColumnDefinition0" />
                            <ColumnDefinition x:Uid="ColumnDefinition1" x:Name="ColumnDefinition1" Width="0" />
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition x:Uid="RowDefinition0" Height="Auto" x:Name="RowDefinition0" />
                            <RowDefinition x:Uid="RowDefinition1" Height="*" x:Name="RowDefinition1" />
                        </Grid.RowDefinitions>
                        <Border x:Uid="Border_34" CornerRadius="2,2,0,0" x:Name="border" Margin="3,0,0,-2">
                            <TabPanel x:Uid="HeaderPanel" x:Name="HeaderPanel" IsItemsHost="true" Panel.ZIndex="1" KeyboardNavigation.TabIndex="1" RenderTransformOrigin="0.5,0.5" Width="Auto" Height="Auto">
                                <TabPanel.LayoutTransform>
                                    <TransformGroup x:Uid="TransformGroup_8">
                                        <ScaleTransform x:Uid="ScaleTransform_2" ScaleX="1" ScaleY="1" />
                                        <SkewTransform x:Uid="SkewTransform_3" AngleX="0" AngleY="0" />
                                        <RotateTransform x:Uid="RotateTransform_8" Angle="0" />
                                        <TranslateTransform x:Uid="TranslateTransform_3" X="0" Y="0" />
                                    </TransformGroup>
                                </TabPanel.LayoutTransform>
                                <TabPanel.RenderTransform>
                                    <TransformGroup x:Uid="TransformGroup_9">
                                        <ScaleTransform x:Uid="ScaleTransform_3" ScaleX="1" ScaleY="1" />
                                        <SkewTransform x:Uid="SkewTransform_4" AngleX="0" AngleY="0" />
                                        <RotateTransform x:Uid="RotateTransform_9" />
                                        <TranslateTransform x:Uid="TranslateTransform_4" X="0" Y="0" />
                                    </TransformGroup>
                                </TabPanel.RenderTransform>

                            </TabPanel>
                        </Border>
                        <Border x:Uid="ContentPanel" Grid.Row="1" x:Name="ContentPanel" Background="{DynamicResource ShadeBrushTop}" BorderBrush="{DynamicResource NormalBorderBrush}" BorderThickness="1" CornerRadius="0,0,3,3" KeyboardNavigation.DirectionalNavigation="Contained" KeyboardNavigation.TabNavigation="Local" KeyboardNavigation.TabIndex="2">
                            <ContentPresenter x:Uid="PART_SelectedContentHost" Margin="4" x:Name="PART_SelectedContentHost" ContentSource="SelectedContent"/>
                        </Border>
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_84" Property="TabStripPlacement" Value="Bottom">
                            <Setter x:Uid="Setter_212" Property="Grid.Row" TargetName="ContentPanel" Value="0" />
                            <Setter x:Uid="Setter_213" Property="Height" TargetName="RowDefinition0" Value="*" />
                            <Setter x:Uid="Setter_214" Property="Height" TargetName="RowDefinition1" Value="Auto" />
                            <Setter x:Uid="Setter_215" Property="Grid.Row" TargetName="border" Value="1"/>
                            <Setter x:Uid="Setter_216" Property="CornerRadius" TargetName="border" Value="0,0,2,2"/>
                            <Setter x:Uid="Setter_217" Property="CornerRadius" TargetName="ContentPanel" Value="3,3,0,0"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_85" Property="TabStripPlacement" Value="Left">

                            <Setter x:Uid="Setter_218" Property="Grid.Row" TargetName="HeaderPanel" Value="0" />
                            <Setter x:Uid="Setter_219" Property="Grid.Row" TargetName="ContentPanel" Value="0" />
                            <Setter x:Uid="Setter_220" Property="Grid.Column" TargetName="ContentPanel" Value="1" />
                            <Setter x:Uid="Setter_221" Property="Width" TargetName="ColumnDefinition0" Value="Auto" />
                            <Setter x:Uid="Setter_222" Property="Width" TargetName="ColumnDefinition1" Value="*" />
                            <Setter x:Uid="Setter_223" Property="Height" TargetName="RowDefinition0" Value="*" />
                            <Setter x:Uid="Setter_224" Property="Height" TargetName="RowDefinition1" Value="0" />
                            <Setter x:Uid="Setter_225" Property="Grid.Column" TargetName="border" Value="0"/>
                            <Setter x:Uid="Setter_226" Property="Margin" TargetName="border" Value="0,0,0,0"/>
                            <Setter x:Uid="Setter_227" Property="Margin" TargetName="ContentPanel" Value="0,0,0,0"/>
                            <Setter x:Uid="Setter_228" Property="CornerRadius" TargetName="border" Value="0,2,2,0"/>
                            <Setter x:Uid="Setter_229" Property="CornerRadius" TargetName="ContentPanel" Value="0,3,3,0"/>

                        </Trigger>
                        <Trigger x:Uid="Trigger_86" Property="TabStripPlacement" Value="Right">
                            <Setter x:Uid="Setter_230" Property="Grid.Row" TargetName="HeaderPanel" Value="0" />
                            <Setter x:Uid="Setter_231" Property="Grid.Row" TargetName="ContentPanel" Value="0" />
                            <Setter x:Uid="Setter_232" Property="Grid.Column" TargetName="ContentPanel" Value="0" />
                            <Setter x:Uid="Setter_233" Property="Width" TargetName="ColumnDefinition0" Value="*" />
                            <Setter x:Uid="Setter_234" Property="Width" TargetName="ColumnDefinition1" Value="Auto" />
                            <Setter x:Uid="Setter_235" Property="Height" TargetName="RowDefinition0" Value="*" />
                            <Setter x:Uid="Setter_236" Property="Height" TargetName="RowDefinition1" Value="0" />
                            <Setter x:Uid="Setter_237" Property="Grid.Column" TargetName="border" Value="1"/>
                            <Setter x:Uid="Setter_238" Property="CornerRadius" TargetName="border" Value="0,2,2,0"/>
                            <Setter x:Uid="Setter_239" Property="CornerRadius" TargetName="ContentPanel" Value="3,0,0,3"/>
                            <Setter x:Uid="Setter_240" Property="Margin" TargetName="border" Value="0,0,0,-2"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_87" Property="IsEnabled" Value="false">
                            <Setter x:Uid="Setter_241" Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}" />
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Uid="Style_31" d:IsControlPart="True" TargetType="{x:Type TabItem}">
        <Setter x:Uid="Setter_242" Property="Foreground" Value="{DynamicResource TextBrush}"/>
        <Setter x:Uid="Setter_243" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_33" TargetType="{x:Type TabItem}">
                    <ControlTemplate.Resources>
                        <Storyboard x:Uid="Storyboard_72" x:Key="HoverOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_72" BeginTime="00:00:00" Storyboard.TargetName="HoverBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_73" KeyTime="00:00:00.1000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_73" x:Key="HoverOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_73" BeginTime="00:00:00" Storyboard.TargetName="HoverBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_74" KeyTime="00:00:00.3000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_74" x:Key="SelectedOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_74" BeginTime="00:00:00" Storyboard.TargetName="SelectedBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_75" KeyTime="00:00:00.1000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_75" x:Key="SelectedOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_75" BeginTime="00:00:00" Storyboard.TargetName="SelectedBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_76" KeyTime="00:00:00.3000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                    </ControlTemplate.Resources>
                    <Grid x:Uid="Grid_32" x:Name="grid">
                        <Grid.LayoutTransform>
                            <TransformGroup x:Uid="TransformGroup_10">
                                <ScaleTransform x:Uid="ScaleTransform_4" ScaleX="1" ScaleY="1"/>
                                <SkewTransform x:Uid="SkewTransform_5" AngleX="0" AngleY="0"/>
                                <RotateTransform x:Uid="RotateTransform_10" Angle="0"/>
                                <TranslateTransform x:Uid="TranslateTransform_5" X="0" Y="0"/>
                            </TransformGroup>
                        </Grid.LayoutTransform>
                        <Grid x:Uid="Grid_33" Margin="1,0,1,0">
                            <Border x:Uid="Border_35" x:Name="Border" Background="{DynamicResource SelectedBackgroundBrush}" BorderBrush="{DynamicResource NormalBorderBrush}" BorderThickness="1,1,1,1" CornerRadius="3,3,0,0"/>
                            <Border x:Uid="Border_36" x:Name="SelectedBorder" Background="{DynamicResource NormalBrush}" BorderBrush="{DynamicResource NormalBorderBrush}" BorderThickness="2,2,2,0" CornerRadius="3,3,0,0" Opacity="0" Margin="-2,0,-2,0"/>
                            <Border x:Uid="Border_37" x:Name="HoverBorder" Background="{DynamicResource HoverBrush}" BorderBrush="{x:Null}" BorderThickness="1,1,1,1" CornerRadius="3,3,0,0" Opacity="0"/>
                            <Border x:Uid="SelectedHoverBorder" x:Name="SelectedHoverBorder" Background="{DynamicResource HoverBrush}" BorderBrush="{x:Null}" BorderThickness="1,1,1,1" CornerRadius="3,3,0,0" Opacity="0"/>
                            <ContentPresenter x:Uid="ContentPresenter_10" HorizontalAlignment="Center" Margin="6,3,6,3" x:Name="ContentSite" VerticalAlignment="Center" RecognizesAccessKey="True" ContentSource="Header"/>
                        </Grid>
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_88" Property="TabStripPlacement" Value="Left">
                            <Setter x:Uid="Setter_244" Property="LayoutTransform" TargetName="grid">
                                <Setter.Value>
                                    <TransformGroup x:Uid="TransformGroup_11">
                                        <ScaleTransform x:Uid="ScaleTransform_5" ScaleX="1" ScaleY="1" />
                                        <SkewTransform x:Uid="SkewTransform_6" AngleX="0" AngleY="0" />
                                        <RotateTransform x:Uid="RotateTransform_11" Angle="-90" />
                                        <TranslateTransform x:Uid="TranslateTransform_6" X="0" Y="0" />
                                    </TransformGroup>
                                </Setter.Value>
                            </Setter>
                        </Trigger>
                        <Trigger x:Uid="Trigger_89" Property="TabStripPlacement" Value="Right">
                            <Setter x:Uid="Setter_245" Property="LayoutTransform" TargetName="grid">
                                <Setter.Value>
                                    <TransformGroup x:Uid="TransformGroup_12">
                                        <ScaleTransform x:Uid="ScaleTransform_6" ScaleX="1" ScaleY="1" />
                                        <SkewTransform x:Uid="SkewTransform_7" AngleX="0" AngleY="0" />
                                        <RotateTransform x:Uid="RotateTransform_12" Angle="90" />
                                        <TranslateTransform x:Uid="TranslateTransform_7" X="0" Y="0" />
                                    </TransformGroup>
                                </Setter.Value>
                            </Setter>
                        </Trigger>
                        <Trigger x:Uid="Trigger_90" Property="TabStripPlacement" Value="Bottom">
                            <Setter x:Uid="Setter_246" Property="LayoutTransform" TargetName="ContentSite">
                                <Setter.Value>
                                    <TransformGroup x:Uid="TransformGroup_13">
                                        <ScaleTransform x:Uid="ScaleTransform_7" ScaleX="1" ScaleY="1" />
                                        <SkewTransform x:Uid="SkewTransform_8" AngleX="0" AngleY="0" />
                                        <RotateTransform x:Uid="RotateTransform_13" Angle="180" />
                                        <TranslateTransform x:Uid="TranslateTransform_8" X="0" Y="0" />
                                    </TransformGroup>
                                </Setter.Value>
                            </Setter>
                            <Setter x:Uid="Setter_247" Property="LayoutTransform" TargetName="grid">
                                <Setter.Value>
                                    <TransformGroup x:Uid="TransformGroup_14">
                                        <ScaleTransform x:Uid="ScaleTransform_8" ScaleX="1" ScaleY="1"/>
                                        <SkewTransform x:Uid="SkewTransform_9" AngleX="0" AngleY="0"/>
                                        <RotateTransform x:Uid="RotateTransform_14" Angle="180"/>
                                        <TranslateTransform x:Uid="TranslateTransform_9" X="0" Y="0"/>
                                    </TransformGroup>
                                </Setter.Value>
                            </Setter>
                        </Trigger>
                        <MultiTrigger x:Uid="MultiTrigger_6">
                            <MultiTrigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_59" Storyboard="{StaticResource HoverOff}" x:Name="HoverOff_BeginStoryboard"/>
                            </MultiTrigger.ExitActions>
                            <MultiTrigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_60" Storyboard="{StaticResource HoverOn}"/>
                            </MultiTrigger.EnterActions>
                            <MultiTrigger.Conditions>
                                <Condition x:Uid="Condition_11" Property="IsMouseOver" Value="True" />
                                <Condition x:Uid="Condition_12" Property="Selector.IsSelected" Value="False" />
                            </MultiTrigger.Conditions>
                        </MultiTrigger>
                        <Trigger x:Uid="Trigger_91" Property="IsSelected" Value="True">
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_61" Storyboard="{StaticResource SelectedOff}" x:Name="SelectedOff_BeginStoryboard"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_62" Storyboard="{StaticResource SelectedOn}" x:Name="SelectedOn_BeginStoryboard"/>
                            </Trigger.EnterActions>
                            <Setter x:Uid="Setter_248" Property="Panel.ZIndex" Value="100" />
                        </Trigger>
                        <MultiTrigger x:Uid="MultiTrigger_7">
                            <MultiTrigger.Conditions>
                                <Condition x:Uid="Condition_13" Property="IsMouseOver" Value="True" SourceName="grid" />
                                <Condition x:Uid="Condition_14" Property="Selector.IsSelected" Value="True" />
                            </MultiTrigger.Conditions>
                            <Setter x:Uid="Setter_249" Property="Opacity" TargetName="SelectedHoverBorder" Value="0.6"/>
                        </MultiTrigger>
                        <Trigger x:Uid="Trigger_92" Property="IsEnabled" Value="False">
                            <Setter x:Uid="Setter_250" Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}" />
                            <Setter x:Uid="Setter_251" Property="Background" TargetName="Border" Value="{DynamicResource DisabledBackgroundBrush}"/>
                            <Setter x:Uid="Setter_252" Property="BorderBrush" TargetName="Border" Value="{DynamicResource DisabledBorderBrush}"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Style.Triggers>
        </Style.Triggers>
    </Style>

    <Style x:Uid="Style_32" x:Key="NuclearSliderThumb" d:IsControlPart="True" TargetType="{x:Type Thumb}">
        <Setter x:Uid="Setter_253" Property="SnapsToDevicePixels" Value="true"/>
        <Setter x:Uid="Setter_254" Property="Height" Value="14"/>
        <Setter x:Uid="Setter_255" Property="Width" Value="14"/>
        <Setter x:Uid="Setter_256" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_34" TargetType="{x:Type Thumb}">
                    <ControlTemplate.Resources>
                        <Storyboard x:Uid="Storyboard_76" x:Key="HoverOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_76" BeginTime="00:00:00" Storyboard.TargetName="BackgroundAnimation" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_77" KeyTime="00:00:00.1000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_77" x:Key="HoverOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_77" BeginTime="00:00:00" Storyboard.TargetName="BackgroundAnimation" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_78" KeyTime="00:00:00.3000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                    </ControlTemplate.Resources>
                    <Grid x:Uid="Grid_34">
                        <Rectangle x:Uid="Base" x:Name="Base" RadiusX="6" RadiusY="6" Fill="#FF000000" StrokeThickness="2"/>
                        <Rectangle x:Uid="Rectangle_19" x:Name="Background" Fill="{TemplateBinding Background}" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="2" RadiusX="4" RadiusY="4"/>
                        <Rectangle x:Uid="Rectangle_20" x:Name="BackgroundAnimation" Opacity="0" Fill="{StaticResource HoverBrush}" RadiusX="3" RadiusY="3" Margin="2,2,2,2" StrokeThickness="0"/>
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_93" Property="IsMouseOver" Value="True">
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_63" Storyboard="{StaticResource HoverOff}" x:Name="HoverOff_BeginStoryboard"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_64" Storyboard="{StaticResource HoverOn}"/>
                            </Trigger.EnterActions>

                        </Trigger>
                        <Trigger x:Uid="Trigger_94" Property="IsEnabled" Value="false">
                            <Setter x:Uid="Setter_257" Property="Fill" Value="{DynamicResource DisabledBackgroundBrush}" TargetName="Base"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Uid="Style_33" TargetType="{x:Type Slider}">
        <Setter x:Uid="Setter_258" Property="Background" Value="{DynamicResource SelectedBackgroundBrush}"/>
        <Setter x:Uid="Setter_259" Property="BorderBrush" Value="{DynamicResource HorizontalSliderBorderBrush}"/>
        <Setter x:Uid="Setter_260" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_35" TargetType="{x:Type Slider}">
                    <Grid x:Uid="Grid_35" x:Name="GridRoot">
                        <Grid.RowDefinitions>
                            <RowDefinition x:Uid="RowDefinition_10" Height="Auto"/>
                            <RowDefinition x:Uid="RowDefinition_11" Height="Auto" MinHeight="{TemplateBinding MinHeight}"/>
                            <RowDefinition x:Uid="RowDefinition_12" Height="Auto"/>
                        </Grid.RowDefinitions>

                        <TickBar x:Uid="TopTick" Visibility="Collapsed" x:Name="TopTick" Height="4" SnapsToDevicePixels="True" Placement="Top" Fill="{DynamicResource GlyphBrush}"/>
                        <Border x:Uid="Border_38" Grid.Row="1" Margin="0" x:Name="Border" Height="4" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="2"/>

                        <Track x:Uid="Track_1" Grid.Row="1" x:Name="PART_Track">
                            <Track.Thumb>
                                <Thumb x:Uid="Thumb_2" Style="{DynamicResource NuclearSliderThumb}" Background="{DynamicResource NormalBrush}" BorderBrush="{DynamicResource NormalBorderBrush}" BorderThickness="2,2,2,2" Width="24" Height="13"/>
                            </Track.Thumb>
                            <Track.IncreaseRepeatButton>
                                <RepeatButton x:Uid="RepeatButton_1" Style="{DynamicResource NuclearScrollRepeatButtonStyle}" Command="Slider.IncreaseLarge"/>
                            </Track.IncreaseRepeatButton>
                            <Track.DecreaseRepeatButton>
                                <RepeatButton x:Uid="RepeatButton_2" Style="{DynamicResource NuclearScrollRepeatButtonStyle}" Command="Slider.DecreaseLarge"/>
                            </Track.DecreaseRepeatButton>
                        </Track>

                        <TickBar x:Uid="BottomTick" Visibility="Collapsed" Grid.Row="2" x:Name="BottomTick" Height="4" SnapsToDevicePixels="True" Placement="Bottom" Fill="{TemplateBinding Foreground}"/>
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_95" Property="TickPlacement" Value="TopLeft">
                            <Setter x:Uid="Setter_261" Property="Visibility" Value="Visible" TargetName="TopTick"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_96" Property="TickPlacement" Value="BottomRight">
                            <Setter x:Uid="Setter_262" Property="Visibility" Value="Visible" TargetName="BottomTick"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_97" Property="TickPlacement" Value="Both">
                            <Setter x:Uid="Setter_263" Property="Visibility" Value="Visible" TargetName="TopTick"/>
                            <Setter x:Uid="Setter_264" Property="Visibility" Value="Visible" TargetName="BottomTick"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_98" Property="IsEnabled" Value="false">
                            <Setter x:Uid="Setter_265" Property="Background" Value="{DynamicResource DisabledBackgroundBrush}" TargetName="Border"/>
                            <Setter x:Uid="Setter_266" Property="BorderBrush" Value="{DynamicResource DisabledBorderBrush}" TargetName="Border"/>
                        </Trigger>

                        <Trigger x:Uid="Trigger_99" Property="Orientation" Value="Vertical">
                            <Setter x:Uid="Setter_267" Property="LayoutTransform" TargetName="GridRoot">
                                <Setter.Value>
                                    <RotateTransform x:Uid="RotateTransform_15" Angle="-90"/>
                                </Setter.Value>
                            </Setter>
                            <Setter x:Uid="Setter_268" TargetName="PART_Track" Property="Orientation" Value="Horizontal"/>
                        </Trigger>

                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter x:Uid="Setter_269" Property="BorderThickness" Value="1,1,1,1"/>
    </Style>

    <Style x:Uid="Style_34" TargetType="{x:Type TreeView}">
        <Setter x:Uid="Setter_270" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_36" TargetType="{x:Type TreeView}">
                    <Grid x:Uid="Grid_36">
                        <Border x:Uid="Border_39" x:Name="Border" Background="{TemplateBinding Background}" BorderBrush="{DynamicResource SolidBorderBrush}" BorderThickness="1" CornerRadius="3,3,3,3">
                            <ScrollViewer   x:Uid="ScrollViewer_6" Focusable="False" Padding="4" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto" CanContentScroll="False">
                                <ItemsPresenter x:Uid="ItemsPresenter_1"/>
                            </ScrollViewer>
                        </Border>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter x:Uid="Setter_271" Property="Background" Value="{DynamicResource ShadeBrush}"/>
        <Setter x:Uid="Setter_272" Property="BorderBrush" Value="{DynamicResource NormalBorderBrush}"/>
    </Style>

    <Style x:Uid="Style_35" x:Key="NuclearTreeViewItemToggleButton" d:IsControlPart="True" TargetType="{x:Type ToggleButton}">
        <Setter x:Uid="Setter_273" Property="Focusable" Value="False"/>
        <Setter x:Uid="Setter_274" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_37" TargetType="{x:Type ToggleButton}">
                    <Grid x:Uid="Grid_37" Width="15" Height="13" Background="Transparent">
                        <Path x:Uid="IsExpandedPath" Visibility="Collapsed" HorizontalAlignment="Left" Margin="1,1,1,1" x:Name="IsExpandedPath" VerticalAlignment="Center" Data="M 0 4 L 8 4 L 4 8 Z">
                            <Path.Fill>
                                <SolidColorBrush x:Uid="SolidColorBrush_11" Color="{DynamicResource BlackColor}"/>
                            </Path.Fill>
                        </Path>
                        <Path x:Uid="ExpandPath" HorizontalAlignment="Left" Margin="1,1,1,1" x:Name="ExpandPath" VerticalAlignment="Center" Data="M 4 0 L 8 4 L 4 8 Z">
                            <Path.Fill>
                                <SolidColorBrush x:Uid="SolidColorBrush_12" Color="{DynamicResource BlackColor}"/>
                            </Path.Fill>
                        </Path>
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_100" Property="IsChecked" Value="True">
                            <Setter x:Uid="Setter_275" Property="Visibility" Value="Visible" TargetName="IsExpandedPath"/>
                            <Setter x:Uid="Setter_276" Property="Visibility" Value="Collapsed" TargetName="ExpandPath"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Uid="Style_36" d:IsControlPart="True" TargetType="{x:Type TreeViewItem}">
        <Style.Triggers>
            <Trigger x:Uid="Trigger_101" Property="IsSelected" Value="True">
                <Setter x:Uid="Setter_277" Property="Foreground">
                    <Setter.Value>
                        <SolidColorBrush x:Uid="SolidColorBrush_13" Color="{DynamicResource WhiteColor}"/>
                    </Setter.Value>
                </Setter>
            </Trigger>
        </Style.Triggers>
        <Setter x:Uid="Setter_278" Property="Background" Value="Transparent"/>
        <Setter x:Uid="Setter_279" Property="HorizontalContentAlignment" Value="{Binding Path=HorizontalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}"/>
        <Setter x:Uid="Setter_280" Property="VerticalContentAlignment" Value="{Binding Path=VerticalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}"/>
        <Setter x:Uid="Setter_281" Property="Padding" Value="1,0,0,0"/>
        <Setter x:Uid="Setter_282" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_38" TargetType="{x:Type TreeViewItem}">
                    <ControlTemplate.Resources>
                        <Storyboard x:Uid="Storyboard_78" x:Key="SelectedOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_78" BeginTime="00:00:00" Storyboard.TargetName="SelectedBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_79" KeyTime="00:00:00.1000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_79" x:Key="SelectedOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_79" BeginTime="00:00:00" Storyboard.TargetName="SelectedBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_80" KeyTime="00:00:00.3000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_80" x:Key="HoverOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_80" BeginTime="00:00:00" Storyboard.TargetName="HoverBorder2" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_81" KeyTime="00:00:00.1000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_81" BeginTime="00:00:00" Storyboard.TargetName="HoverBorder1" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_82" KeyTime="00:00:00.1000000" Value="0.5"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_81" x:Key="HoverOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_82" BeginTime="00:00:00" Storyboard.TargetName="HoverBorder2" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_83" KeyTime="00:00:00.3000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_83" BeginTime="00:00:00" Storyboard.TargetName="HoverBorder1" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_84" KeyTime="00:00:00.3000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_82" x:Key="SelectedHoverOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_84" BeginTime="00:00:00" Storyboard.TargetName="SelectedHoverBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_85" KeyTime="00:00:00.1000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_83" x:Key="SelectedHoverOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_85" BeginTime="00:00:00" Storyboard.TargetName="SelectedHoverBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_86" KeyTime="00:00:00.3000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                    </ControlTemplate.Resources>
                    <Grid x:Uid="Grid_38">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition x:Uid="ColumnDefinition_13" MinWidth="19" Width="Auto"/>
                            <ColumnDefinition x:Uid="ColumnDefinition_14" Width="Auto"/>
                            <ColumnDefinition x:Uid="ColumnDefinition_15" Width="*"/>
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition x:Uid="RowDefinition_13" Height="Auto"/>
                            <RowDefinition x:Uid="RowDefinition_14"/>
                        </Grid.RowDefinitions>
                        <ToggleButton x:Uid="Expander" x:Name="Expander" Style="{DynamicResource NuclearTreeViewItemToggleButton}" IsChecked="{Binding Path=IsExpanded, RelativeSource={RelativeSource TemplatedParent}}" ClickMode="Press"/>
                        <Border x:Uid="Selection_Border" Grid.Column="1" x:Name="Selection_Border" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Padding="{TemplateBinding Padding}">
                            <Grid x:Uid="Grid_39">
                                <Border x:Uid="Border_40" Background="{DynamicResource NormalBrush}" BorderBrush="{DynamicResource NormalBorderBrush}" BorderThickness="2,2,2,2" CornerRadius="2,2,2,2" Opacity="0" x:Name="SelectedBorder"/>
                                <Border x:Uid="HoverBorder1" x:Name="HoverBorder1" Opacity="0" Background="{DynamicResource NormalBrush}" BorderBrush="{DynamicResource NormalBorderBrush}" BorderThickness="1,1,1,1" CornerRadius="2,2,2,2"/>
                                <Border x:Uid="HoverBorder2" x:Name="HoverBorder2" Opacity="0" Background="{DynamicResource HoverBrush}" BorderBrush="{x:Null}" BorderThickness="1,1,1,1" CornerRadius="2,2,2,2"/>
                                <ContentPresenter x:Uid="PART_Header" HorizontalAlignment="Stretch" x:Name="PART_Header" ContentSource="Header" d:LayoutOverrides="Width" Margin="3,2,3,2"/>
                                <Border x:Uid="Border_41" x:Name="SelectedHoverBorder" Opacity="0" Background="{DynamicResource HoverBrush}" BorderBrush="{x:Null}" BorderThickness="1,1,1,1" CornerRadius="2,2,2,2"/>
                            </Grid>
                        </Border>
                        <ItemsPresenter x:Uid="ItemsHost" Grid.Column="1" Grid.ColumnSpan="2" Grid.Row="1" x:Name="ItemsHost"/>
                    </Grid>
                    <ControlTemplate.Triggers>
                        <MultiTrigger x:Uid="MultiTrigger_8">
                            <MultiTrigger.ExitActions>
                                <BeginStoryboard x:Uid="SelectedHoverOff_BeginStoryboard" Storyboard="{StaticResource SelectedHoverOff}" x:Name="SelectedHoverOff_BeginStoryboard"/>
                            </MultiTrigger.ExitActions>
                            <MultiTrigger.EnterActions>
                                <BeginStoryboard x:Uid="SelectedHoverOn_BeginStoryboard" Storyboard="{StaticResource SelectedHoverOn}" x:Name="SelectedHoverOn_BeginStoryboard"/>
                            </MultiTrigger.EnterActions>
                            <MultiTrigger.Conditions>
                                <Condition x:Uid="Condition_15" Property="IsSelected" Value="True"/>
                                <Condition x:Uid="Condition_16" Property="IsMouseOver" Value="True"/>
                            </MultiTrigger.Conditions>
                        </MultiTrigger>
                        <MultiTrigger x:Uid="MultiTrigger_9">
                            <MultiTrigger.Conditions>
                                <Condition x:Uid="Condition_17" Property="IsSelected" Value="False"/>
                                <Condition x:Uid="Condition_18" Property="IsMouseOver" SourceName="Selection_Border" Value="True"/>
                            </MultiTrigger.Conditions>
                            <MultiTrigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_65" x:Name="HoverOff_BeginStoryboard" Storyboard="{StaticResource HoverOff}"/>
                            </MultiTrigger.ExitActions>
                            <MultiTrigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_66" x:Name="HoverOn_BeginStoryboard" Storyboard="{StaticResource HoverOn}"/>
                            </MultiTrigger.EnterActions>
                        </MultiTrigger>
                        <Trigger x:Uid="Trigger_102" Property="IsExpanded" Value="false">
                            <Setter x:Uid="Setter_283" Property="Visibility" Value="Collapsed" TargetName="ItemsHost"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_103" Property="HasItems" Value="false">
                            <Setter x:Uid="Setter_284" Property="Visibility" Value="Hidden" TargetName="Expander"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_104" Property="IsSelected" Value="true">
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_67" x:Name="SelectedOff_BeginStoryboard" Storyboard="{StaticResource SelectedOff}"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_68" Storyboard="{StaticResource SelectedOn}"/>
                            </Trigger.EnterActions>
                            <Setter x:Uid="Setter_285" Property="Foreground" Value="{DynamicResource {x:Static SystemColors.HighlightTextBrushKey}}"/>
                        </Trigger>
                        <MultiTrigger x:Uid="MultiTrigger_10">
                            <MultiTrigger.Conditions>
                                <Condition x:Uid="Condition_19" Property="IsSelected" Value="true"/>
                                <Condition x:Uid="Condition_20" Property="IsSelectionActive" Value="false"/>
                            </MultiTrigger.Conditions>
                            <Setter x:Uid="Setter_286" Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}" TargetName="Selection_Border"/>
                            <Setter x:Uid="Setter_287" Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
                        </MultiTrigger>
                        <Trigger x:Uid="Trigger_105" Property="IsEnabled" Value="false">
                            <Setter x:Uid="Setter_288" Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Uid="Style_37" x:Key="{x:Static ToolBar.ButtonStyleKey}" TargetType="{x:Type Button}" BasedOn="{x:Null}">
        <Setter x:Uid="Setter_289" Property="FocusVisualStyle" Value="{DynamicResource NuclearButtonFocusVisual}"/>
        <Setter x:Uid="Setter_290" Property="Background" Value="{DynamicResource NormalBrush}"/>
        <Setter x:Uid="Setter_291" Property="BorderBrush" Value="{DynamicResource NormalBorderBrush}"/>
        <Setter x:Uid="Setter_292" Property="Template" Value="{DynamicResource ButtonTemplate}" />
        <Setter x:Uid="Setter_293" Property="Foreground" Value="{DynamicResource TextBrush}"/>
						<Setter x:Uid="Setter_294" Property="FontSize" Value="10"/>
				<Setter x:Uid="Setter_295" Property="MinHeight" Value="18"/>
				<Setter x:Uid="Setter_296" Property="MinWidth" Value="50"/>
    </Style>

    <Style x:Uid="Style_38" x:Key="{x:Static ToolBar.RadioButtonStyleKey}" TargetType="{x:Type RadioButton}">
			<Setter x:Uid="Setter_297" Property="FontSize" Value="10"/>
        <Setter x:Uid="Setter_298" Property="SnapsToDevicePixels" Value="true"/>
        <Setter x:Uid="Setter_299" Property="FocusVisualStyle" Value="{DynamicResource RadioButtonFocusVisual}"/>
        <Setter x:Uid="Setter_300" Property="Background" Value="{DynamicResource NormalBrush}"/>
        <Setter x:Uid="Setter_301" Property="Foreground" Value="{DynamicResource TextBrush}"/>
        <Setter x:Uid="Setter_302" Property="BorderBrush" Value="{DynamicResource NormalBorderBrush}"/>
        <Setter x:Uid="Setter_303" Property="Template" Value="{DynamicResource RadioButtonTemplate}" />
        <Style.Triggers>
            <Trigger x:Uid="Trigger_106" Property="IsEnabled" Value="False">
                <Setter x:Uid="Setter_304" Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}"/>
            </Trigger>
        </Style.Triggers>
    </Style>

    <Style x:Uid="Style_39" x:Key="{x:Static ToolBar.CheckBoxStyleKey}" TargetType="{x:Type CheckBox}">
			<Setter x:Uid="Setter_305" Property="FontSize" Value="10"/>
        <Setter x:Uid="Setter_306" Property="SnapsToDevicePixels" Value="true"/>
        <Setter x:Uid="Setter_307" Property="FocusVisualStyle" Value="{DynamicResource CheckBoxFocusVisual}"/>
        <Setter x:Uid="Setter_308" Property="Background" Value="{DynamicResource NormalBrush}"/>
        <Setter x:Uid="Setter_309" Property="Foreground" Value="{DynamicResource TextBrush}"/>
        <Setter x:Uid="Setter_310" Property="BorderBrush" Value="{DynamicResource NormalBorderBrush}"/>
        <Setter x:Uid="Setter_311" Property="Template" Value="{DynamicResource CheckBoxTemplate}" />
        <Style.Triggers>
            <Trigger x:Uid="Trigger_107" Property="IsEnabled" Value="False">
                <Setter x:Uid="Setter_312" Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}"/>
            </Trigger>
        </Style.Triggers>
    </Style>

    <Style x:Uid="Style_40" x:Key="{x:Static ToolBar.ComboBoxStyleKey}" TargetType="{x:Type ComboBox}">
			<Setter x:Uid="Setter_313" Property="FontSize" Value="10"/>
        <Setter x:Uid="Setter_314" Property="SnapsToDevicePixels" Value="true"/>
        
<Setter x:Uid="Setter_315" Property="Template" Value="{DynamicResource ComboBoxTemplate}" />
    </Style>

    <Style x:Uid="Style_41" x:Key="{x:Static ToolBar.TextBoxStyleKey}" TargetType="{x:Type TextBox}">
			<Setter x:Uid="Setter_316" Property="FontSize" Value="10"/>
        <Setter x:Uid="Setter_317" Property="KeyboardNavigation.TabNavigation" Value="None"/>
        <Setter x:Uid="Setter_318" Property="FocusVisualStyle" Value="{x:Null}"/>
        <Setter x:Uid="Setter_319" Property="AllowDrop" Value="true"/>
        <Setter x:Uid="Setter_320" Property="Template" Value="{DynamicResource TextBoxTemplate}" />
        <Setter x:Uid="Setter_321" Property="BorderBrush" Value="{DynamicResource NormalBorderBrush}"/>
        <Setter x:Uid="Setter_322" Property="Background" Value="{DynamicResource ShadeBrush}"/>
    </Style>

    <LinearGradientBrush x:Uid="LinearGradientBrush_22" x:Key="ToolBarHorizontalBackground" EndPoint="0,1" StartPoint="0,0">
        <GradientStop x:Uid="GradientStop_65" Color="#FFFFFF" Offset="0"/>
        <GradientStop x:Uid="GradientStop_66" Color="#FFFBFF" Offset="0.5"/>
        <GradientStop x:Uid="GradientStop_67" Color="#F7F7F7" Offset="1"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Uid="LinearGradientBrush_23" x:Key="ToolBarToggleButtonHorizontalBackground" EndPoint="0,1" StartPoint="0,0">
        <GradientStop x:Uid="GradientStop_68" Color="#ECECEC" Offset="0"/>
        <GradientStop x:Uid="GradientStop_69" Color="#DDDDDD" Offset="0.5"/>
        <GradientStop x:Uid="GradientStop_70" Color="#A0A0A0" Offset="1"/>
    </LinearGradientBrush>
    <SolidColorBrush x:Uid="SolidColorBrush_14" x:Key="ToolBarButtonHover" Color="{StaticResource NormalBrushGradient1}" />
    <SolidColorBrush x:Uid="SolidColorBrush_15" x:Key="ToolBarGripper" Color="#C6C3C6"/>
    <Style x:Uid="Style_42" x:Key="ToolBarHorizontalOverflowButtonStyle" TargetType="{x:Type ToggleButton}">
        <Setter x:Uid="Setter_323" Property="Background" Value="{StaticResource ToolBarToggleButtonHorizontalBackground}"/>
        <Setter x:Uid="Setter_324" Property="MinHeight" Value="0"/>
        <Setter x:Uid="Setter_325" Property="MinWidth" Value="0"/>
        <Setter x:Uid="Setter_326" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_39" TargetType="{x:Type ToggleButton}">
                    <Border x:Uid="Bd" SnapsToDevicePixels="true" x:Name="Bd" CornerRadius="0,0,0,0" Background="{DynamicResource SelectedBackgroundBrush}">
                        <Canvas x:Uid="Canvas_1" SnapsToDevicePixels="true" HorizontalAlignment="Right" Margin="7,2,2,2" VerticalAlignment="Bottom" Width="6" Height="7">
                            <Path x:Uid="Path_7" Stroke="White" Data="M 1 1.5 L 6 1.5"/>
                            <Path x:Uid="Path_8" Stroke="{TemplateBinding Foreground}" Data="M 0 0.5 L 5 0.5"/>
                            <Path x:Uid="Path_9" Fill="White" Data="M 0.5 4 L 6.5 4 L 3.5 7 Z"/>
                            <Path x:Uid="Path_10" Fill="{TemplateBinding Foreground}" Data="M -0.5 3 L 5.5 3 L 2.5 6 Z"/>
                        </Canvas>
                    </Border>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_108" Property="IsMouseOver" Value="true">
                            <Setter x:Uid="Setter_327" Property="Background" TargetName="Bd" Value="{DynamicResource MouseOverBrush}"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_109" Property="IsKeyboardFocused" Value="true">
                            <Setter x:Uid="Setter_328" Property="Background" TargetName="Bd" Value="{StaticResource ToolBarButtonHover}"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_110" Property="IsEnabled" Value="false">
                            <Setter x:Uid="Setter_329" Property="Foreground" Value="{StaticResource ToolBarGripper}"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <SolidColorBrush x:Uid="SolidColorBrush_16" x:Key="ToolBarSubMenuBackground" Color="#FFFDFDFD"/>
    <SolidColorBrush x:Uid="SolidColorBrush_17" x:Key="ToolBarMenuBorder" Color="#FFFFFFFF"/>
    <Style x:Uid="Style_43" x:Key="ToolBarThumbStyle" TargetType="{x:Type Thumb}">
        <Setter x:Uid="Setter_330" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_40" TargetType="{x:Type Thumb}">
                    <Border x:Uid="Border_42" SnapsToDevicePixels="True" Background="Transparent" Padding="{TemplateBinding Padding}" CornerRadius="0,0,0,0">
                        <Rectangle x:Uid="Rectangle_21">
                            <Rectangle.Fill>
                                <DrawingBrush x:Uid="DrawingBrush_1" TileMode="Tile" Viewbox="0,0,4,4" ViewboxUnits="Absolute" Viewport="0,0,4,4" ViewportUnits="Absolute">
                                    <DrawingBrush.Drawing>
                                        <DrawingGroup x:Uid="DrawingGroup_1">
                                            <GeometryDrawing x:Uid="GeometryDrawing_1" Brush="White" Geometry="M 1 1 L 1 3 L 3 3 L 3 1 z"/>
                                            <GeometryDrawing x:Uid="GeometryDrawing_2" Brush="{StaticResource ToolBarGripper}" Geometry="M 0 0 L 0 2 L 2 2 L 2 0 z"/>
                                        </DrawingGroup>
                                    </DrawingBrush.Drawing>
                                </DrawingBrush>
                            </Rectangle.Fill>
                        </Rectangle>
                    </Border>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_111" Property="IsMouseOver" Value="true">
                            <Setter x:Uid="Setter_331" Property="Cursor" Value="SizeAll"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <LinearGradientBrush x:Uid="LinearGradientBrush_24" x:Key="ToolBarToggleButtonVerticalBackground" EndPoint="1,0" StartPoint="0,0">
        <GradientStop x:Uid="GradientStop_71" Color="#ECECEC" Offset="0"/>
        <GradientStop x:Uid="GradientStop_72" Color="#DDDDDD" Offset="0.5"/>
        <GradientStop x:Uid="GradientStop_73" Color="#A0A0A0" Offset="1"/>
    </LinearGradientBrush>
    <Style x:Uid="Style_44" x:Key="ToolBarVerticalOverflowButtonStyle" TargetType="{x:Type ToggleButton}">
        <Setter x:Uid="Setter_332" Property="Background" Value="{StaticResource ToolBarToggleButtonVerticalBackground}"/>
        <Setter x:Uid="Setter_333" Property="MinHeight" Value="0"/>
        <Setter x:Uid="Setter_334" Property="MinWidth" Value="0"/>
        <Setter x:Uid="Setter_335" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_41" TargetType="{x:Type ToggleButton}">
                    <Border x:Uid="Border_43" SnapsToDevicePixels="true" x:Name="Bd" Background="{TemplateBinding Background}" CornerRadius="0,0,3,3">
                        <Canvas x:Uid="Canvas_2" SnapsToDevicePixels="true" HorizontalAlignment="Right" Margin="2,7,2,2" VerticalAlignment="Bottom" Width="7" Height="6">
                            <Path x:Uid="Path_11" Stroke="White" Data="M 1.5 1 L 1.5 6"/>
                            <Path x:Uid="Path_12" Stroke="{TemplateBinding Foreground}" Data="M 0.5 0 L 0.5 5"/>
                            <Path x:Uid="Path_13" Fill="White" Data="M 3.5 0.5 L 7 3.5 L 4 6.5 Z"/>
                            <Path x:Uid="Path_14" Fill="{TemplateBinding Foreground}" Data="M 3 -0.5 L 6 2.5 L 3 5.5 Z"/>
                        </Canvas>
                    </Border>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_112" Property="IsMouseOver" Value="true">
                            <Setter x:Uid="Setter_336" Property="Background" TargetName="Bd" Value="{StaticResource ToolBarButtonHover}"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_113" Property="IsKeyboardFocused" Value="true">
                            <Setter x:Uid="Setter_337" Property="Background" TargetName="Bd" Value="{StaticResource ToolBarButtonHover}"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_114" Property="IsEnabled" Value="false">
                            <Setter x:Uid="Setter_338" Property="Foreground" Value="{StaticResource ToolBarGripper}"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <LinearGradientBrush x:Uid="LinearGradientBrush_25" x:Key="ToolBarVerticalBackground" EndPoint="1,0" StartPoint="0,0">
        <GradientStop x:Uid="GradientStop_74" Color="#FFFFFF" Offset="0"/>
        <GradientStop x:Uid="GradientStop_75" Color="#FFFBFF" Offset="0.5"/>
        <GradientStop x:Uid="GradientStop_76" Color="#F7F7F7" Offset="1"/>
    </LinearGradientBrush>
    <Style x:Uid="Style_45" TargetType="{x:Type ToolBar}">
        <Setter x:Uid="Setter_339" Property="Background" Value="{StaticResource ToolBarHorizontalBackground}"/>
        <Setter x:Uid="Setter_340" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_42" TargetType="{x:Type ToolBar}">
                    <Grid x:Uid="Grid_40" SnapsToDevicePixels="true" Margin="3,1,1,1" x:Name="Grid">
                        <Grid x:Uid="OverflowGrid" HorizontalAlignment="Right" x:Name="OverflowGrid">
                            <ToggleButton x:Uid="OverflowButton" IsEnabled="{TemplateBinding HasOverflowItems}" FocusVisualStyle="{x:Null}" x:Name="OverflowButton" Style="{StaticResource ToolBarHorizontalOverflowButtonStyle}" ClickMode="Press" IsChecked="{Binding Path=IsOverflowOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"/>
                            <Popup x:Uid="OverflowPopup" Focusable="false" AllowsTransparency="true" IsOpen="{Binding Path=IsOverflowOpen, RelativeSource={RelativeSource TemplatedParent}}" Placement="Bottom" PopupAnimation="{DynamicResource {x:Static SystemParameters.ComboBoxPopupAnimationKey}}" StaysOpen="False" x:Name="OverflowPopup">
                                <Border x:Uid="Shdw" x:Name="Shdw">
                                    <Border x:Uid="Border_44" BorderThickness="1,1,1,1" Background="{DynamicResource ShadeBrush}" BorderBrush="{DynamicResource LightBrush}">
                                        <ToolBarOverflowPanel x:Uid="PART_ToolBarOverflowPanel" Focusable="true" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" FocusVisualStyle="{x:Null}" Margin="2" x:Name="PART_ToolBarOverflowPanel" WrapWidth="200" KeyboardNavigation.DirectionalNavigation="Cycle" KeyboardNavigation.TabNavigation="Cycle"/>
                                    </Border>
                                </Border>
                            </Popup>
                        </Grid>
                        <Border x:Uid="MainPanelBorder" Margin="0,0,11,0" x:Name="MainPanelBorder" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="0,0,0,0" Padding="{TemplateBinding Padding}" Background="{DynamicResource SelectedBackgroundBrush}">
                            <Grid x:Uid="Grid_41">

                                <DockPanel x:Uid="DockPanel_2" KeyboardNavigation.TabIndex="1" KeyboardNavigation.TabNavigation="Local">
                                    <Thumb x:Uid="ToolBarThumb" Padding="6,5,1,6" Margin="-3,-1,0,0" x:Name="ToolBarThumb" Style="{StaticResource ToolBarThumbStyle}" Width="10"/>
                                    <ContentPresenter x:Uid="ToolBarHeader" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" HorizontalAlignment="Center" Margin="4,0,4,0" x:Name="ToolBarHeader" VerticalAlignment="Center" ContentSource="Header"/>
                                    <ToolBarPanel x:Uid="PART_ToolBarPanel" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" Margin="0,1,2,2" x:Name="PART_ToolBarPanel" IsItemsHost="true" Background="{DynamicResource SelectedBackgroundBrush}"/>
                                </DockPanel>
                            </Grid>
                        </Border>
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_115" Property="IsOverflowOpen" Value="true">
                            <Setter x:Uid="Setter_341" Property="IsEnabled" TargetName="ToolBarThumb" Value="false"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_116" Property="Header" Value="{x:Null}">
                            <Setter x:Uid="Setter_342" Property="Visibility" TargetName="ToolBarHeader" Value="Collapsed"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_117" Property="ToolBarTray.IsLocked" Value="true">
                            <Setter x:Uid="Setter_343" Property="Visibility" TargetName="ToolBarThumb" Value="Collapsed"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_118" Property="HasDropShadow" SourceName="OverflowPopup" Value="true">
                            <Setter x:Uid="Setter_344" Property="Margin" TargetName="Shdw" Value="0,0,5,5"/>
                            <Setter x:Uid="Setter_345" Property="SnapsToDevicePixels" TargetName="Shdw" Value="true"/>
                            <Setter x:Uid="Setter_346" Property="Background" TargetName="Shdw" Value="#71000000"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_119" Property="Orientation" Value="Vertical">
                            <Setter x:Uid="Setter_347" Property="Margin" TargetName="Grid" Value="1,3,1,1"/>
                            <Setter x:Uid="Setter_348" Property="Style" TargetName="OverflowButton" Value="{StaticResource ToolBarVerticalOverflowButtonStyle}"/>
                            <Setter x:Uid="Setter_349" Property="Height" TargetName="ToolBarThumb" Value="10"/>
                            <Setter x:Uid="Setter_350" Property="Width" TargetName="ToolBarThumb" Value="Auto"/>
                            <Setter x:Uid="Setter_351" Property="Margin" TargetName="ToolBarThumb" Value="-1,-3,0,0"/>
                            <Setter x:Uid="Setter_352" Property="Padding" TargetName="ToolBarThumb" Value="5,6,6,1"/>
                            <Setter x:Uid="Setter_353" Property="Margin" TargetName="ToolBarHeader" Value="0,0,0,4"/>
                            <Setter x:Uid="Setter_354" Property="Margin" TargetName="PART_ToolBarPanel" Value="1,0,2,2"/>
                            <Setter x:Uid="Setter_355" Property="DockPanel.Dock" TargetName="ToolBarThumb" Value="Top"/>
                            <Setter x:Uid="Setter_356" Property="DockPanel.Dock" TargetName="ToolBarHeader" Value="Top"/>
                            <Setter x:Uid="Setter_357" Property="HorizontalAlignment" TargetName="OverflowGrid" Value="Stretch"/>
                            <Setter x:Uid="Setter_358" Property="VerticalAlignment" TargetName="OverflowGrid" Value="Bottom"/>
                            <Setter x:Uid="Setter_359" Property="Placement" TargetName="OverflowPopup" Value="Right"/>
                            <Setter x:Uid="Setter_360" Property="Margin" TargetName="MainPanelBorder" Value="0,0,0,11"/>
                            <Setter x:Uid="Setter_361" Property="Background" Value="{StaticResource ToolBarVerticalBackground}"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_120" Property="IsEnabled" Value="false">
                            <Setter x:Uid="Setter_362" Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter x:Uid="Setter_363" Property="Foreground" Value="#FF000000"/>
    </Style>

    <BorderGapMaskConverter x:Uid="BorderGapMaskConverter_1" x:Key="BorderGapMaskConverter" />
    <Style x:Uid="Style_46" TargetType="{x:Type GroupBox}">
        <Setter x:Uid="Setter_364" Property="BorderBrush" Value="#D5DFE5" />
        <Setter x:Uid="Setter_365" Property="BorderThickness" Value="1" />
        <Setter x:Uid="Setter_366" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_43" TargetType="{x:Type GroupBox}">
                    <Grid x:Uid="Grid_42" SnapsToDevicePixels="true">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition x:Uid="ColumnDefinition_16" Width="6" />
                            <ColumnDefinition x:Uid="ColumnDefinition_17" Width="Auto" />
                            <ColumnDefinition x:Uid="ColumnDefinition_18" Width="*" />
                            <ColumnDefinition x:Uid="ColumnDefinition_19" Width="6" />
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition x:Uid="RowDefinition_15" Height="Auto" />
                            <RowDefinition x:Uid="RowDefinition_16" Height="Auto" />
                            <RowDefinition x:Uid="RowDefinition_17" Height="*" />
                            <RowDefinition x:Uid="RowDefinition_18" Height="6" />
                        </Grid.RowDefinitions>
                        <Border x:Uid="Border_45" Grid.ColumnSpan="4" Grid.RowSpan="4" Background="{DynamicResource LightBrush}" CornerRadius="4,4,4,4" BorderThickness="1,1,1,1" />
                        <Border x:Uid="Border_46" Grid.ColumnSpan="4" Grid.Row="1" Grid.RowSpan="3" BorderThickness="1,1,1,1" CornerRadius="4" BorderBrush="{DynamicResource NormalBorderBrush}">
                            <Border.OpacityMask>
                                <MultiBinding x:Uid="MultiBinding_1" Converter="{StaticResource BorderGapMaskConverter}" ConverterParameter="7">
                                    <Binding x:Uid="Binding_1" Path="ActualWidth" ElementName="Header" />
                                    <Binding x:Uid="Binding_2" Path="ActualWidth" RelativeSource="{RelativeSource Self}" />
                                    <Binding x:Uid="Binding_3" Path="ActualHeight" RelativeSource="{RelativeSource Self}" />
                                </MultiBinding>
                            </Border.OpacityMask>
                            <Border x:Uid="Border_47" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="3">
                                <Border.BorderBrush>
                                    <SolidColorBrush x:Uid="SolidColorBrush_18" Color="{DynamicResource MainColor}" />
                                </Border.BorderBrush>
                                <Border x:Uid="Border_48" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="2">
                                    <Border.BorderBrush>
                                        <SolidColorBrush x:Uid="SolidColorBrush_19" Color="{DynamicResource MainColor}" />
                                    </Border.BorderBrush>
                                </Border>
                            </Border>
                        </Border>
                        <Border x:Uid="Border_49" Grid.Column="0" Grid.ColumnSpan="4" Grid.Row="1" Grid.RowSpan="3" Background="{TemplateBinding Background}" BorderBrush="Transparent" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="4" />
                        <Border x:Uid="Main" Grid.ColumnSpan="4" Grid.RowSpan="2" Background="{DynamicResource NormalBrush}" BorderThickness="1,1,1,0" CornerRadius="2,2,0,0" x:Name="Main" BorderBrush="{DynamicResource NormalBorderBrush}" />
                        <Rectangle x:Uid="Shine" Opacity="1" Stroke="{x:Null}" RadiusX="3" RadiusY="3" VerticalAlignment="Stretch" Height="Auto" x:Name="Shine" Grid.ColumnSpan="4" Grid.RowSpan="2" Margin="1,1,1,1">
                            <Rectangle.Fill>
                                <LinearGradientBrush x:Uid="LinearGradientBrush_26" EndPoint="0.5,0.971" StartPoint="0.5,0.042">
                                    <GradientStop x:Uid="GradientStop_77" Color="#26FFFFFF" Offset="0" />
                                    <GradientStop x:Uid="GradientStop_78" Color="#00FFFFFF" Offset="1" />
                                    <GradientStop x:Uid="GradientStop_79" Color="#26FFFFFF" Offset="0.467" />
                                    <GradientStop x:Uid="GradientStop_80" Color="#00FFFFFF" Offset="0.475" />
                                </LinearGradientBrush>
                            </Rectangle.Fill>
                        </Rectangle>

                        <Border x:Uid="Header" x:Name="Header" Grid.Column="1" Grid.Row="0" Grid.RowSpan="2" Padding="3,1,3,0">
                            <ContentPresenter x:Uid="ContentPresenter_11" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" ContentSource="Header" RecognizesAccessKey="True" Margin="0,4,0,4" />
                        </Border>

                        <ContentPresenter x:Uid="ContentPresenter_12" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" Margin="{TemplateBinding Padding}" Grid.Column="1" Grid.ColumnSpan="2" Grid.Row="2" />
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter x:Uid="Setter_367" Property="Foreground">
            <Setter.Value>
                <SolidColorBrush x:Uid="SolidColorBrush_20" Color="{DynamicResource WhiteColor}" />
            </Setter.Value>
        </Setter>
    </Style>

    <SolidColorBrush x:Uid="SolidColorBrush_21" x:Key="ListBorder" Color="#828790" />
    <Style x:Uid="Style_47" x:Key="{x:Static GridView.GridViewScrollViewerStyleKey}" TargetType="{x:Type ScrollViewer}">
        <Setter x:Uid="Setter_368" Property="Focusable" Value="false" />
        <Setter x:Uid="Setter_369" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_44" TargetType="{x:Type ScrollViewer}">
                    <Grid x:Uid="Grid_43" SnapsToDevicePixels="true" Background="{TemplateBinding Background}">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition x:Uid="ColumnDefinition_20" Width="*" />
                            <ColumnDefinition x:Uid="ColumnDefinition_21" Width="Auto" />
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition x:Uid="RowDefinition_19" Height="*" />
                            <RowDefinition x:Uid="RowDefinition_20" Height="Auto" />
                        </Grid.RowDefinitions>
                        <DockPanel x:Uid="DockPanel_3" Margin="{TemplateBinding Padding}">
                            <ScrollViewer x:Uid="ScrollViewer_7" Focusable="false" DockPanel.Dock="Top" HorizontalScrollBarVisibility="Hidden" VerticalScrollBarVisibility="Hidden">
                                <GridViewHeaderRowPresenter x:Uid="GridViewHeaderRowPresenter_1" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" Margin="2,0,2,0" AllowsColumnReorder="{Binding Path=TemplatedParent.View.AllowsColumnReorder, RelativeSource={RelativeSource TemplatedParent}}" ColumnHeaderContainerStyle="{Binding Path=TemplatedParent.View.ColumnHeaderContainerStyle, RelativeSource={RelativeSource TemplatedParent}}" ColumnHeaderContextMenu="{Binding Path=TemplatedParent.View.ColumnHeaderContextMenu, RelativeSource={RelativeSource TemplatedParent}}" ColumnHeaderTemplate="{Binding Path=TemplatedParent.View.ColumnHeaderTemplate, RelativeSource={RelativeSource TemplatedParent}}" ColumnHeaderTemplateSelector="{Binding Path=TemplatedParent.View.ColumnHeaderTemplateSelector, RelativeSource={RelativeSource TemplatedParent}}" ColumnHeaderToolTip="{Binding Path=TemplatedParent.View.ColumnHeaderToolTip, RelativeSource={RelativeSource TemplatedParent}}" Columns="{Binding Path=TemplatedParent.View.Columns, RelativeSource={RelativeSource TemplatedParent}}" />

                            </ScrollViewer>
                            <ScrollContentPresenter x:Uid="PART_ScrollContentPresenter" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" x:Name="PART_ScrollContentPresenter" Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" CanContentScroll="{TemplateBinding CanContentScroll}" KeyboardNavigation.DirectionalNavigation="Local" />
                        </DockPanel>
                        <ScrollBar x:Uid="ScrollBar_1" Visibility="{TemplateBinding ComputedHorizontalScrollBarVisibility}" Cursor="Arrow" x:Name="PART_HorizontalScrollBar" Grid.Row="1" Orientation="Horizontal" ViewportSize="{TemplateBinding ViewportWidth}" Maximum="{TemplateBinding ScrollableWidth}" Minimum="0.0" Value="{Binding Path=HorizontalOffset, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}" />
                        <ScrollBar x:Uid="ScrollBar_2" Visibility="{TemplateBinding ComputedVerticalScrollBarVisibility}" Cursor="Arrow" x:Name="PART_VerticalScrollBar" Grid.Column="1" Orientation="Vertical" ViewportSize="{TemplateBinding ViewportHeight}" Maximum="{TemplateBinding ScrollableHeight}" Minimum="0.0" Value="{Binding Path=VerticalOffset, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}" />
                        <DockPanel x:Uid="DockPanel_4" Grid.Column="1" Grid.Row="1" Background="{Binding Path=Background, ElementName=PART_VerticalScrollBar}" LastChildFill="false">
                            <Rectangle x:Uid="Rectangle_22" Visibility="{TemplateBinding ComputedVerticalScrollBarVisibility}" Width="1" Fill="White" DockPanel.Dock="Left" />
                            <Rectangle x:Uid="Rectangle_23" Visibility="{TemplateBinding ComputedHorizontalScrollBarVisibility}" Height="1" Fill="White" DockPanel.Dock="Top" />
                        </DockPanel>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Uid="Style_48" TargetType="{x:Type ListView}">
        <Setter x:Uid="Setter_370" Property="Background" Value="{DynamicResource ShadeBrush}" />
        <Setter x:Uid="Setter_371" Property="BorderBrush" Value="{DynamicResource NormalBorderBrush}" />
        <Setter x:Uid="Setter_372" Property="BorderThickness" Value="1" />
        <Setter x:Uid="Setter_373" Property="Foreground" Value="#FF042271" />
        <Setter x:Uid="Setter_374" Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Auto" />
        <Setter x:Uid="Setter_375" Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto" />
        <Setter x:Uid="Setter_376" Property="ScrollViewer.CanContentScroll" Value="true" />
        <Setter x:Uid="Setter_377" Property="VerticalContentAlignment" Value="Center" />
        <Setter x:Uid="Setter_378" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_45" TargetType="{x:Type ListView}">
                    <Border x:Uid="Border_50" x:Name="Bd" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="2,2,2,2" BorderBrush="{DynamicResource DefaultedBorderBrush}" Background="{DynamicResource LightBrush}">

                        <ScrollViewer x:Uid="ScrollViewer_8" Padding="{TemplateBinding Padding}" Style="{DynamicResource {x:Static GridView.GridViewScrollViewerStyleKey}}">
                            <ItemsPresenter x:Uid="ItemsPresenter_2" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
                        </ScrollViewer>
                    </Border>

                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_121" Property="IsGrouping" Value="true">
                            <Setter x:Uid="Setter_379" Property="ScrollViewer.CanContentScroll" Value="false" />
                        </Trigger>
                        <Trigger x:Uid="Trigger_122" Property="IsEnabled" Value="false">
                            <Setter x:Uid="Setter_380" Property="Background" TargetName="Bd" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}" />
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Uid="Style_49" x:Key="ListViewItemFocusVisual">
        <Setter x:Uid="Setter_381" Property="Control.Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_46">
                    <Rectangle x:Uid="Rectangle_24" Stroke="#8E6EA6F5" StrokeThickness="1" RadiusX="2" RadiusY="2" />
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Uid="Style_50" TargetType="{x:Type ListViewItem}">
        <Setter x:Uid="Setter_382" Property="FocusVisualStyle" Value="{StaticResource ListViewItemFocusVisual}" />
        <Setter x:Uid="Setter_383" Property="Background" Value="Transparent" />
        <Setter x:Uid="Setter_384" Property="BorderBrush" Value="Transparent" />
        <Setter x:Uid="Setter_385" Property="BorderThickness" Value="1" />
        <Setter x:Uid="Setter_386" Property="Margin" Value="0,0,0,1" />
        <Setter x:Uid="Setter_387" Property="Padding" Value="5,2,5,2" />
        <Setter x:Uid="Setter_388" Property="VerticalContentAlignment" Value="Center" />
        <Setter x:Uid="Setter_389" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_47" TargetType="{x:Type ListViewItem}">
                    <ControlTemplate.Resources>
                        <Storyboard x:Uid="Storyboard_84" x:Key="HoverOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_86" BeginTime="00:00:00" Storyboard.TargetName="HoverRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_87" KeyTime="00:00:00.1000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_85" x:Key="HoverOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_87" BeginTime="00:00:00" Storyboard.TargetName="HoverRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_88" KeyTime="00:00:00.3000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_86" x:Key="SelectedOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_88" BeginTime="00:00:00" Storyboard.TargetName="SelectedRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_89" KeyTime="00:00:00.1000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_87" x:Key="SelectedOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_89" BeginTime="00:00:00" Storyboard.TargetName="SelectedRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_90" KeyTime="00:00:00.3000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_88" x:Key="SelectedHoverOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_90" BeginTime="00:00:00" Storyboard.TargetName="SelectedHoverRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_91" KeyTime="00:00:00.1000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_89" x:Key="SelectedHoverOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_91" BeginTime="00:00:00" Storyboard.TargetName="SelectedHoverRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_92" KeyTime="00:00:00.3000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                    </ControlTemplate.Resources>
                    <Border x:Uid="Border_51" SnapsToDevicePixels="true" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="2" x:Name="border">

                        <Grid x:Uid="Grid_44" Margin="2,0,2,0">
                            <Rectangle x:Uid="Rectangle_25" x:Name="Background"
							IsHitTestVisible="False"
							Fill="{StaticResource SelectedBackgroundBrush}"
							RadiusX="0"/>
                            <Rectangle x:Uid="Rectangle_26" x:Name="SelectedRectangle"
							IsHitTestVisible="False"
							Opacity="0"
							Fill="{StaticResource NormalBrush}"
							RadiusX="0"/>
                            <GridViewRowPresenter x:Uid="GridViewRowPresenter_1" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="Stretch" Margin="0,2,0,2" />
                            <Rectangle x:Uid="Rectangle_27" x:Name="HoverRectangle"
                            	IsHitTestVisible="False"
                            	Fill="{StaticResource HoverBrush}"
                            	RadiusX="0"
                            	Opacity="0"/>
                            <Rectangle x:Uid="SelectedHoverRectangle" x:Name="SelectedHoverRectangle"
                            	IsHitTestVisible="False"
                            	Fill="{StaticResource HoverBrush}"
                            	RadiusX="0"
                            	Opacity="0"/>
                        </Grid>

                    </Border>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_123" Property="IsSelected" Value="true">
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_69" Storyboard="{StaticResource SelectedOff}" x:Name="SelectedOff_BeginStoryboard"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_70" Storyboard="{StaticResource SelectedOn}" x:Name="SelectedOn_BeginStoryboard"/>
                            </Trigger.EnterActions>

                        </Trigger>
                        <MultiTrigger x:Uid="MultiTrigger_11">
                            <MultiTrigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_71" Storyboard="{StaticResource HoverOff}" x:Name="HoverOff_BeginStoryboard"/>
                            </MultiTrigger.ExitActions>
                            <MultiTrigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_72" Storyboard="{StaticResource HoverOn}" x:Name="HoverOn_BeginStoryboard"/>
                            </MultiTrigger.EnterActions>
                            <MultiTrigger.Conditions>
                                <Condition x:Uid="Condition_21" Property="IsMouseOver" Value="True" />
                                <Condition x:Uid="Condition_22" Property="Selector.IsSelected" Value="False" />
                            </MultiTrigger.Conditions>

                        </MultiTrigger>
                        <MultiTrigger x:Uid="MultiTrigger_12">
                            <MultiTrigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_73" Storyboard="{StaticResource SelectedHoverOff}" x:Name="SelectedHoverOff_BeginStoryboard"/>
                            </MultiTrigger.ExitActions>
                            <MultiTrigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_74" Storyboard="{StaticResource SelectedHoverOn}" x:Name="SelectedHoverOn_BeginStoryboard"/>
                            </MultiTrigger.EnterActions>
                            <MultiTrigger.Conditions>
                                <Condition x:Uid="Condition_23" Property="Selector.IsSelected" Value="True" />
                                <Condition x:Uid="Condition_24" Property="IsMouseOver" Value="True" />
                            </MultiTrigger.Conditions>

                        </MultiTrigger>
                        <Trigger x:Uid="Trigger_124" Property="IsEnabled" Value="false">
                            <Setter x:Uid="Setter_390" Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}" />
                        </Trigger>
                        <MultiTrigger x:Uid="MultiTrigger_13">
                            <MultiTrigger.Conditions>
                                <Condition x:Uid="Condition_25" Property="IsSelected" Value="true" />
                                <Condition x:Uid="Condition_26" Property="Selector.IsSelectionActive" Value="false" />
                            </MultiTrigger.Conditions>


                        </MultiTrigger>

                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter x:Uid="Setter_391" Property="Foreground" Value="{DynamicResource TextBrush}"/>
    </Style>


    <Style x:Uid="Style_51" x:Key="GridViewColumnHeaderGripper" TargetType="{x:Type Thumb}">
        <Setter x:Uid="Setter_392" Property="Canvas.Right" Value="-8.5" />
        <Setter x:Uid="Setter_393" Property="Width" Value="18" />
        <Setter x:Uid="Setter_394" Property="Height" Value="{Binding Path=ActualHeight, RelativeSource={RelativeSource TemplatedParent}}" />
        <Setter x:Uid="Setter_395" Property="Padding" Value="0,3,0,4" />
        <Setter x:Uid="Setter_396" Property="Background" Value="{DynamicResource LightBrush}" />
        <Setter x:Uid="Setter_397" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_48" TargetType="{x:Type Thumb}">
                    <Border x:Uid="Border_52" Padding="{TemplateBinding Padding}" Background="#00FFFFFF">
                        <Rectangle x:Uid="Rectangle_28" HorizontalAlignment="Center" Width="0.5">
                            <Rectangle.Fill>
                                <SolidColorBrush x:Uid="SolidColorBrush_22" Color="{DynamicResource WhiteColor}" />
                            </Rectangle.Fill>
                        </Rectangle>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Uid="Style_52" x:Key="{x:Type GridViewColumnHeader}" TargetType="{x:Type GridViewColumnHeader}">
        <Setter x:Uid="Setter_398" Property="HorizontalContentAlignment" Value="Center" />
        <Setter x:Uid="Setter_399" Property="VerticalContentAlignment" Value="Center" />
        <Setter x:Uid="Setter_400" Property="Background" Value="{DynamicResource LightBrush}" />
        <Setter x:Uid="Setter_401" Property="Padding" Value="2,0,2,0" />
        <Setter x:Uid="Setter_402" Property="Foreground" Value="{DynamicResource TextBrush}"/>
        <Setter x:Uid="Setter_403" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_49" TargetType="{x:Type GridViewColumnHeader}">
                    <ControlTemplate.Resources>
                        <Storyboard x:Uid="Storyboard_90" x:Key="HoverOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_92" BeginTime="00:00:00" Storyboard.TargetName="HoverBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_93" KeyTime="00:00:00.1000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_91" x:Key="HoverOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_93" BeginTime="00:00:00" Storyboard.TargetName="HoverBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_94" KeyTime="00:00:00.3000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_92" x:Key="PressedOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_94" BeginTime="00:00:00" Storyboard.TargetName="Main" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_95" KeyTime="00:00:00.1000000" Value="0.65"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_93" x:Key="PressedOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_95" BeginTime="00:00:00" Storyboard.TargetName="Main" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_96" KeyTime="00:00:00.3000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                    </ControlTemplate.Resources>
                    <Grid x:Uid="Grid_45" Margin="0,1,0,1">
                        <Grid x:Uid="Grid_46">

                            <Border x:Uid="Border_53" x:Name="Main" BorderThickness="{TemplateBinding BorderThickness}" Padding="{TemplateBinding Padding}" Background="{DynamicResource NormalBrush}" BorderBrush="{DynamicResource NormalBorderBrush}" CornerRadius="0,0,0,0" />
                            <Border x:Uid="Border_54" x:Name="HoverBorder" BorderThickness="{TemplateBinding BorderThickness}" Padding="{TemplateBinding Padding}" Background="{DynamicResource HoverBrush}" BorderBrush="{x:Null}" CornerRadius="0,0,0,0" Opacity="0" />

                            <Border x:Uid="Border_55" BorderThickness="{TemplateBinding BorderThickness}" Padding="{TemplateBinding Padding}">
                                <Border.BorderBrush>
                                    <SolidColorBrush x:Uid="SolidColorBrush_23" Color="{DynamicResource WhiteColor}"/>
                                </Border.BorderBrush>
                                <ContentPresenter x:Uid="ContentPresenter_13" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" RecognizesAccessKey="True" Margin="2,2,2,2" />
                            </Border>
                        </Grid>
                        <Canvas x:Uid="Canvas_3">
                            <Thumb x:Uid="PART_HeaderGripper" x:Name="PART_HeaderGripper" Style="{StaticResource GridViewColumnHeaderGripper}" HorizontalAlignment="Stretch" />
                        </Canvas>
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_125" Property="IsMouseOver" Value="true">
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_75" Storyboard="{StaticResource HoverOff}" x:Name="HoverOff_BeginStoryboard"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_76" Storyboard="{StaticResource HoverOn}"/>
                            </Trigger.EnterActions>
                        </Trigger>
                        <Trigger x:Uid="Trigger_126" Property="IsPressed" Value="true">
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_77" Storyboard="{StaticResource PressedOff}" x:Name="PressedOff_BeginStoryboard"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_78" Storyboard="{StaticResource PressedOn}" x:Name="PressedOn_BeginStoryboard"/>
                            </Trigger.EnterActions>
                        </Trigger>
                        <Trigger x:Uid="Trigger_127" Property="Height" Value="Auto">
                            <Setter x:Uid="Setter_404" Property="MinHeight" Value="20" />
                        </Trigger>
                        <Trigger x:Uid="Trigger_128" Property="IsEnabled" Value="false">
                            <Setter x:Uid="Setter_405" Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}" />
                        </Trigger>
                        <Trigger x:Uid="Trigger_129" Property="Role" Value="Padding">
                            <Setter x:Uid="Setter_406" TargetName="PART_HeaderGripper" Property="Visibility" Value="Collapsed" />
                        </Trigger>
                        <Trigger x:Uid="Trigger_130" Property="Role" Value="Floating">
                            <Setter x:Uid="Setter_407" TargetName="PART_HeaderGripper" Property="Visibility" Value="Collapsed" />
                            <Setter x:Uid="Setter_408" Property="Background" Value="Yellow" />
                            <Setter x:Uid="Setter_409" Property="Foreground" Value="{DynamicResource MouseOverBrush}" />
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Uid="Style_53" x:Key="ButtonFocusVisual">
        <Setter x:Uid="Setter_410" Property="Control.Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_50">
                    <Rectangle x:Uid="Rectangle_29" SnapsToDevicePixels="true" Margin="2" Stroke="Black" StrokeDashArray="1 2" StrokeThickness="1" />
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <LinearGradientBrush x:Uid="LinearGradientBrush_27" x:Key="ButtonNormalBackground" EndPoint="0,1" StartPoint="0,0">
        <GradientStop x:Uid="GradientStop_81" Color="#F3F3F3" Offset="0" />
        <GradientStop x:Uid="GradientStop_82" Color="#EBEBEB" Offset="0.5" />
        <GradientStop x:Uid="GradientStop_83" Color="#DDDDDD" Offset="0.5" />
        <GradientStop x:Uid="GradientStop_84" Color="#CDCDCD" Offset="1" />
    </LinearGradientBrush>
    <SolidColorBrush x:Uid="SolidColorBrush_24" x:Key="ButtonNormalBorder" Color="#FF707070" />

    <Style x:Uid="Style_54" TargetType="{x:Type ToggleButton}">
        <Style.Triggers>
            <Trigger x:Uid="Trigger_131" Property="IsEnabled" Value="False">
                <Setter x:Uid="Setter_411" Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}"/>
            </Trigger>
        </Style.Triggers>
        <Setter x:Uid="Setter_412" Property="FocusVisualStyle" Value="{StaticResource ButtonFocusVisual}" />
        <Setter x:Uid="Setter_413" Property="Background" Value="{DynamicResource SelectedBackgroundBrush}" />
        <Setter x:Uid="Setter_414" Property="BorderBrush" Value="{DynamicResource NormalBrush}" />
        <Setter x:Uid="Setter_415" Property="BorderThickness" Value="2,2,2,2" />
        <Setter x:Uid="Setter_416" Property="Foreground" Value="{DynamicResource TextBrush}"/>
        <Setter x:Uid="Setter_417" Property="HorizontalContentAlignment" Value="Center" />
        <Setter x:Uid="Setter_418" Property="VerticalContentAlignment" Value="Center" />
        <Setter x:Uid="Setter_419" Property="Padding" Value="1" />
        <Setter x:Uid="Setter_420" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_51" TargetType="{x:Type ToggleButton}">
                    <ControlTemplate.Resources>
                        <Storyboard x:Uid="Storyboard_94" x:Key="HoverOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_96" Storyboard.TargetName="BackgroundAnimation" Storyboard.TargetProperty="Opacity">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_97" KeyTime="00:00:00.1000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_95" x:Key="HoverOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_97" Storyboard.TargetName="BackgroundAnimation" Storyboard.TargetProperty="Opacity">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_98" KeyTime="00:00:00.4000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_96" x:Key="CheckedOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_98" BeginTime="00:00:00" Storyboard.TargetName="CheckedBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_99" KeyTime="00:00:00.1000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_97" x:Key="CheckedOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_99" BeginTime="00:00:00" Storyboard.TargetName="CheckedBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_100" KeyTime="00:00:00.3000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                    </ControlTemplate.Resources>
                    <Grid x:Uid="Grid_47">

                        <Border x:Uid="Border_56" x:Name="Background" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="4,4,4,4" Opacity="0.9"/>
                        <Border x:Uid="CheckedBorder" x:Name="CheckedBorder" Opacity="0" Background="{StaticResource NormalBrush}" BorderBrush="{DynamicResource NormalBrush}" BorderThickness="2,2,2,2" CornerRadius="4"/>
                        <Border x:Uid="Border_57" x:Name="BackgroundAnimation" Opacity="0" Background="{StaticResource HoverBrush}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="4"/>
                        <ContentPresenter x:Uid="ContentPresenter_14" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" RecognizesAccessKey="True" />
                    </Grid>

                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_132" Property="IsPressed" Value="True">

                        </Trigger>
                        <Trigger x:Uid="Trigger_133" Property="IsMouseOver" Value="true">
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_79" Storyboard="{StaticResource HoverOff}" x:Name="HoverOff_BeginStoryboard"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>

                                <BeginStoryboard x:Uid="BeginStoryboard_80" Storyboard="{StaticResource HoverOn}" x:Name="HoverOn_BeginStoryboard"/>

                            </Trigger.EnterActions>
                        </Trigger>
                        <Trigger x:Uid="Trigger_134" Property="IsKeyboardFocused" Value="true" />
                        <Trigger x:Uid="Trigger_135" Property="IsChecked" Value="true">
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="CheckedOff_BeginStoryboard" Storyboard="{StaticResource CheckedOff}" x:Name="CheckedOff_BeginStoryboard"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="CheckedOn_BeginStoryboard" Storyboard="{StaticResource CheckedOn}" x:Name="CheckedOn_BeginStoryboard"/>
                            </Trigger.EnterActions>



                        </Trigger>
                        <Trigger x:Uid="Trigger_136" Property="IsEnabled" Value="false">
                            <Setter x:Uid="Setter_421" Property="Background" TargetName="Background" Value="{DynamicResource DisabledBackgroundBrush}"/>
                            <Setter x:Uid="Setter_422" Property="BorderBrush" TargetName="Background" Value="{DynamicResource DisabledBorderBrush}"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

</ResourceDictionary>
